how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / chandra
'addition
DIM A
A=INPUTBOX("enter a val")
DIM B
B=INPUTBOX("enter b val")
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 ? | 50 Yes | 29 No |
Post New Answer View All Answers
Explain the arrays in vb script?
Explain about the functionality of vb script?
What is select case statement?
How to capture a runtime error in vbscript?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
How to open browser in vb script?
How to write VB script for login module?
Out of the different type of operators, which are evaluated first and last in the vbscript language?
What are class properties?
Mention how you can call vbscript functions?
What are keywords in the vbscript language?
1. How to handle object implementation change in DP for Ex: i have login page with username,pasword (editboxes),login,cancel(buttons). Here i written DP code for login page with the help properties. My questions: 1.If properites are changing dynamically i will do (i want code for that) 2.if objects are changed dynamcally i will do (i wnat code for that)
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
Which constant is used for print and display functions and works as same as pressing enter key?
How you can call vbscript functions?