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
Explain the extension .hta?
What are the disadvantages of vbscript?
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
Mention how to assign a date value to a variable?
What is vbscript procedures?
Mention what is select case statement?
Is vbscript a case-sensitive or case-insensitive?
How to delete a cookie using vbscript?
What are lbound and ubound in the vbscript language?
how to acces the remote mechine using vb cript(QTP)
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
why variable name should not exceed 255 characters?
What is the technology used by vb script?
What is the purpose of the err object in the vbscript language?
What is sql loader? Explain the files used by sql loader to load file?