how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / pravati
Call sum(x,y)
Function sum(x,y)
x=cint(inputbox ("enter a no"))
y=cint(inputbox ("enter a no"))
z=inputbox("enter the value")
Select Case z
Case "+" msgbox x+y
Case "-" msgbox x-y
End Select
End Function
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Why is error handling required?
What is the use of option explicit statement?
give me any information abou vb script books learn quckly
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
Mention what is byref and byval parameters in vbscript?
Explain few date functions in vbscript?
i need to sort the data using qtp script for this how i need to write a qtp script
How can you fetch the value of a cookie?
What is the use of the instr function?
Explain the string concatenation function in vbscript?
what is the difference between modular and data and keyword driven framework
why variable name should not exceed 255 characters?
Explain about filter expression?
Compare java script and vb script?
Which operator can be used to check if two numbers are equal or not in vbscript?