write a vb script to display calculator using case statement?
Answer / mudaseer
a=cint(inputbox("enter the value"))
b=cint(inputbox("enter the value"))
vchoice=inputbox("enter the value")
select case vchoice
case "+" msgbox a+b
case "-" msgbox a-b
case "*" msgbox a*b
case "/" msgbox a/b
case "\" msgbox a\b
case "mod" msgbox a mod b
case "&" msgbox a & b
case "^" msgbox a ^ b
case else msgbox "invalid"
end select
by mudaseer20@gmail.com
| Is This Answer Correct ? | 16 Yes | 2 No |
How will you get the natural logarithm of the given number in vbscript?
wat is com(common object model)object for mozilla firefox??? if any knows the exact answer....plz rply me
how to comvert 120 into one hunderd twenty rupees only and vice varsa
Explain what is loose binding? Why is it not a good practice to use it?
How can I access an object in another frame?
How to Import data from a file (file is on the desktop) to the data table
What is the difference between vbscript and vba?
What are the uses of vb script?
How will you reverse a string in vbscript?
give me any information abou vb script books learn quckly
Here in my automation tool, i am retreiving some values and i need to store this values in the excel. How can i achieve this?. We are using VBA as scripting language. please let me know if you require any further inputs.
Inorder to avoid Message box while writing script which alternative method can be used?