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
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
How will you get a subset of a array in vbscript?
How can the spaces from the string be removed?
How will you get the largest subscript of an array in vbscript?
What are class properties?
how to comvert 120 into one hunderd twenty rupees only and vice varsa
How are values assigned to the variables in the vbscript language?
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
Explain the asc function?
What are the environments supported by vbscript language?
We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?
How can you create a file object to work with the files in the vbscript language?
How can you create an object in vbscript?
Mention characteristics of sub procedures?
Explain about tristate constants in vbscript?