As for my assignment I had to write a program to swap 2 digit number
Example:- If user input 12 the swaped number Would be 21.
Along with ALgorithm, and a short description on this program(As how will you solve this program or what measure you'll take to get desired results).
Please Help..
dendenny01
0
Newbie Poster
Recommended Answers
Jump to PostHave you started already? If not, why so? What in particular are you having difficulties with?
As a hint: modulo 10, division by 10, multiplication by 10; you can pretty much solve your task using these operations.
All 4 Replies
mvmalderen
2,072
Postaholic
KaeLL
0
Newbie Poster
dendenny01
0
Newbie Poster
mvmalderen
2,072
Postaholic
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.