Answer Posted / manjunathareddy
Dim oNum1
Dim oNum2
oNum1=Cint(InputBox("Enter the First number here"))
oNum2=Cint(InputBox("Enter the Second number here"))
Msgbox "Before swapping numbers are"&" "&oNum1&" "&oNum2
oNum1=oNum1-oNum2
oNum2=oNum1+oNum2
oNum1=oNum2-oNum1
Msgbox "After Swaping numbers are"&" "&oNum1&" "&oNum2
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Why is error handling required?
What are the disadvantages of vbscript?
Which operator is used to concatenate the 2 values in the vbscript language?
What purpose does ‘on error resume next’ serves?
How can you create a file object to work with the files in the vbscript language?
What are events in the vbscript language?
why do u choose to go for testing why cant for devoloping
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
What is event handling in vbscript?
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
Explain about adodb.stream class?
How will you get the exponent of the given number in vbscript?
Explain about scrrun.dll in vbscript?
What are string functions in vbscript?