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
Mention what is the use of option explicit in vbscript?
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?
What is the scope of a constant declared using public?
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
What is the use of the date function in the vbscript language?
Is VB Script Case sensitive or Case insensitive?
What are string functions in vbscript?
What is dictionary object in vbscript? Explain?
How to replace junk code recorded by QTP with a mall function.
Is vbscript a case-sensitive or case-insensitive?
Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.
write any ttest cases using check points and parameterization
How will you get a random number between 0 and 1 in vbscript?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com