how to write basic programs in VB Script like addition,
multiplication?
Answer Posted / vani
dim a,b,sum,mul
a=cdbl(inputbox("enter a?"))
b=cdbl(inputbox("enter b?"))
sum=a+b
mul=a*b
msgbox sum
msgbox mul
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
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 will you get the smallest subscript of an array in vbscript?
What are the uses of vb script?
what do you mean .ota mobile format
1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?
There are 5 web pages.write a script to click the button on 4th web page.
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
How to replace junk code recorded by QTP with a mall function.
What is the use of option explicit in vbscript?
What is the use of the date function in the vbscript language?
about vb scripting programs this type of all question& answers
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
What is the main difference between function and sub-procedure?
Write a code to print numbers from 5 to 0?