how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / dipanjan
Dim a, b, c, d As Integer
a = TextBox1.Text
b = TextBox2.Text
c = TextBox3.Text
d = Int(a) + Int(b) + Int(c)
MsgBox (d)
for multiplication:
d = a * b * c
MsgBox (d)
Is This Answer Correct ? | 6 Yes | 8 No |
Post New Answer View All Answers
How are arrays declared in the vbscript language?
What are the advantages of vbscript?
Explain the string concatenation function in vbscript?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
How do you declare a variable in vbscript?
what is the use of QCUtil? explain with one example?
How will you get the smallest subscript of an array in vbscript?
What is the difference between for loop and while loop?
What are the environments supported by vbscript language?
when we use filter funtiom invb script(QTP)
Does VB/Win make standalone .EXE files?
How regexp.execute method works?
Which operator is used to concatenate the 2 values in the vbscript language?
Differentiate javascript and vbscript?
Which operator can be used to do an xor operation in vbscript?