- Home
·
- Math/Dates
·
- Swapping variable contents without using Temporary Variable
Swapping variable contents without using Temporary Variable
by Ahamed Saifudeen (11 Submissions)
Category: Math/Dates
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Thu 5th August 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Swapping variable contents without using Temporary Variable
Rate Swapping variable contents without using Temporary Variable
a=Inputbox("Enter the value of A:")
b=Inputbox("Enter the value of B:")
a=a+b
b=a-b
a=a-b
Print a
Print b
End Sub
Download this snippet
Add to My Saved Code
Swapping variable contents without using Temporary Variable Comments
No comments have been posted about Swapping variable contents without using Temporary Variable. Why not be the first to post a comment about Swapping variable contents without using Temporary Variable.
Post your comment