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 |
in qtp we ve datatable look like excel ,if we want to extract data from excel which saved in my documet how can i get that in datatable using vb script
when you use For Loop, While..do, do..while? at what situations which loop will use.
after medical test,when will be the police verification
Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
How strcomp function works?
how to display all the links in one page using vb script in qtp.
1 Answers DST Global Solutions,
How will you generate Reports using Vb Script?it asked in testing(QTP)Interview.Plz Any Body Let me know. Thanks uday Uday_testing@yahoo.co.in
1)How to test whether items in a weblist are in alphabetical order or not?
how to increasing the numbers in a given text box please write a vb script
What is the difference between Javascript & Vbscript?
hai all.iam chandu..please let me know how to test a link in QTP when it is changing at run time..and what property we should take while we r using descriptive programming for a link..