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
wht must be the interview question on corinthian information technology solutions incorporated.
Compare java script and vb script?
Explain the asc function?
When to use function procedures and what are its characteristics?
Which in-built function related to an array joins substrings into one string in the vbscript language?
Why is error handling required?
how does vb script help in web page designing? explain with example.
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
For a webbased application:- what should be code in expert veiw, for retrieving a single column name "username" from a server and checking whether exported "username" from datatable doesn't exist in server. suppose i have saved in excelsheet a username="gayatri" , which is exported, then checked for whether this username "gayatri" exist in server database or not ? if exist then allow to enter new username, which should be again checked for in loop , or else come out of loop and enter a distinct "username". plz let me have this answer in my id gayatrisahooin@hotmail.com
What is loose binding? Why is it not a good practice to use it?
How do you declare a variable in vbscript?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
Explain the scope of the variables using dim, public, and private keywords respectively.
Explain the arrays in vb script?