write a vbscrpit to swap values
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
am giving to one number u can set into that in date format.u can use any methods
Mention what is select case statement?
how to write validation function for date in vb script
How will you format a number in percetage format in vbscript?
What is the difference between for loop and while loop?
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com
Write a Script for ATM in QTP
how to delete folder test3,test4 and test5 using vbscript?
How can I get the value of an object property or variable in another frame?
How will you convert a string to upper case string using vbscript?
Mention the rules for using option explicit statement?
Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository