Write a program that will swap two values stored in location X and Y. For example if the initial values were X=2 and Y=5 then after the execution of your program the stored values should be X=5 and Y=2. in mariesim
joseph_7
0
Newbie Poster
Recommended Answers
Jump to PostPlease show some proof of effort as per Daniweb rules. Thank you.
Jump to PostThen make best effort at explaining what you don't understand, why you don't understand it, and where clarification will help you understand. Just posting your homework assignment looks like you want someone else to do it for you.
All 5 Replies
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
joseph_7
0
Newbie Poster
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
joseph_7
0
Newbie Poster
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.