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
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
Mention how to assign a date value to a variable?
What are class variables?
Can anyone send me a vb script function for verifying the functionality of active links on a web page
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
How should i Create Email invite with server-side Coding?
How many types of procedures are available in the vbscript language?
Which operator can be used to change the value of the operand or change the state of the condition?
Is vbscript a case-sensitive or case-insensitive?
What is purpose of scripting.filesystemobject class in vbscript?
What is the event handling in vbscript?
What is the purpose of regexp object in vbscript?
How to delete a cookie using vbscript?
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards