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
Which operator can be used to change the value of the operand or change the state of the condition?
How to access array data?
Explain about scrrun.dll?
Which operator is used to perform the comparison among 2 operands in the vbscript language?
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
Which operator can be used to do an xor operation in vbscript?
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?
What are class properties?
How strcomp function works?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
How will you get a subset of a array in vbscript?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
why do u choose to go for testing why cant for devoloping
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
What is dictionary object in vbscript? Explain?