Answer Posted / monika
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=oNum1-oNum2
Msgbox "After Swaping numbers are"&" "&oNum1&" "&oNum2
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Mention characteristics of sub procedures?
What are the data types supported by vbscript?
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.
What is byref and byval parameters in vbscript?
Which function allows you to instantiate an object given its programmatic identifier or progid?
What is the use of the recordset object and which statement is used to create such an object?
How to replace junk code recorded by QTP with a mall function.
How can you create a file object to work with the files in the vbscript language?
Anyone have qtp11.0 crack?
Explain about vb script?
Which operator is used to concatenate the 2 values in the vbscript language?
How to Enter Values on the Command promt using VB script
What is the difference between vbscript and vba?
Explain about the asc function?
Explain about scrrun.dll?