how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / chandan
'script for adding two numbers
option explicit
dim num1,num2,result
num1=200
num2=300
result=num1+num2
msgbox result
Is This Answer Correct ? | 11 Yes | 8 No |
Post New Answer View All Answers
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
Explain what is loose binding? Why is it not a good practice to use it?
How are arrays declared in the vbscript language?
why variable name should not exceed 255 characters?
How will you get a subset of a array in vbscript?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
1. How do declare public variable in vb scripts?
What is the use of the recordset object and which statement is used to create such an object?
How many types of procedures are available in the vbscript language?
Explain the arrays in vb script?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
Explain the constants in vbscript?
Which operator can be used to do an xor operation in vbscript?
What methods are used to create text files and open text files in the vbscript language?
How to open browser in vb script?