how to write basic programs in VB Script like addition,
multiplication?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / jansheer
dim a
dim b
dim c
a=cintinputbox("enter first no")
b=cintinputbox("enter second no")
c=a+b
msgbox("sum of "&a&"and"&b&"is")
| Is This Answer Correct ? | 4 Yes | 16 No |
How can I access an object in another frame?
Is VB Script Case sensitive or Case insensitive?
What is the difference between javascript and vbscript?
write a vb script to display calculator using case statement?
1)How to test whether items in a weblist are in alphabetical order or not?
What is the difference between ByRef and ByVal. When to use ByRef and ByVal
Join the multiple array with out using JOIN function
write a vb script to add two 2*2 matrix
How can you test font size, type and color using QTP tool?
Explain sga memory structures?
How to get the background color of a weblist?
how to retrieve native property value in runtime?