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
What is the difference between vb debugger and the script debugger?
What are class variables?
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)
Which function is used in the vbscript language to convert the specified expression into a date type value?
How will you get the last occurrence of one string within another string using vbscript?
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
What are the special sub-types in vbscript?
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com
How to create a cookie using vbscript?
How to assign a date value to a variable?
How will you convert a string to upper case string using vbscript?
Mention the environments where vbscript could be run?
What is purpose of scripting.filesystemobject class in vbscript?
Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?