how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / chandra
'addition
DIM A
A=INPUTBOX("enter a val")
DIM B
B=INPUTBOX("enter b val")
DIM C
DIM D
C=A+B
MSGBOX C (here output is 1020)
C=INT (A)+INT (B)
MSGBOX C '(HERE OUTPUT IS 30)
D=A*B
MSGBOX D '(OUTPUT IS 200)
| Is This Answer Correct ? | 50 Yes | 29 No |
Post New Answer View All Answers
Mention what is vbscript procedures?
Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks
What is the difference between javascript and vbscript?
where can i learn VB scripint ?
How to create a cookie using vbscript?
How do you declare a variable in vbscript?
Explain the adodb.stream class?
Explain about tristate constants in vbscript?
how to check whether link is disabled in QTP??
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
What is the purpose of on error resume next statement?
How will you convert a string to upper case string using vbscript?
Mention how to create a cookie using vbscript?
How to Import data from a file (file is on the desktop) to the data table
How will you reverse a string in vbscript?