input values to accept 2 numbers & print the product,
difference and sum using switch case
Answer / testengineer
a= Inputbox ("Enter the value of a :: ")
b= Inputbox ("Enter the value of b :: ")
S= int(a)+int(b)
D= int(a)-int(b)
P= int(a)*int(b)
Operation= Inputbox ("1.Sum"&vbnewline& "2.Difference" &vbnewline& "3.Product","Operators")
Select Case Operation
Case 1
Msgbox "Sum = "& S
Case 2
Msgbox "Difference = "& D
Case 3
Msgbox "Product = "& P
Case Else
Msgbox "Invalid Selection"
End Select
Is This Answer Correct ? | 3 Yes | 2 No |
Join the multiple array with out using JOIN function
How to open excel in vb script?
Explain about filter expression?
Explain the support of asp for vb script functionality?
What is the difference between javascript and vbscript?
how to write function to validate the number of characters entering into the text box?
Explain different types of segment?
which one is more secure vb script or java script ??????? or both are same ??????
Explain the extension .hta?
how to write basic programs in VB Script like addition, multiplication?
Hi all..I have two values. a=20 ,b=30 I want to perform c= a+b and c= a*b using user define function.please anyone give the answer
What is the purpose of folders object of scripting.filesystemobject class in vbscript?