how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / dev
1.addition
DIM A=10
DIM B=20
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 ? | 84 Yes | 54 No |
Post New Answer View All Answers
Explain about scrrun.dll in vbscript?
How to Enter Values on the Command promt using VB script
How will you get a random number between 0 and 1 in vbscript?
How will you compare two strings in vbscript?
how does vb script help in web page designing? explain with example.
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com
Can anyone send me a vb script function for verifying the functionality of active links on a web page
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.
How will you get the smallest subscript of an array in vbscript?
What is the event handling in vbscript?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
filter the array values without using filter function?
How will you get a string with the specified character the specified number of times in vbscript?
Mention how to assign a date value to a variable?
create a form to accept username and password validate the username and password with using message box, display the corresponding user message