A five-digit number is entered through the keyboard. Write a program which will re order the digits of the number from smallest to highest. Like, if you enter 54231 the program will show output as 12345. help me.
kendricktamis 0 Newbie Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Salem 5,248 Posting Sage
pkim 0 Newbie Poster
arindra -4 Newbie Poster
Salem commented: Spoon-fed, unformatted, non-standard code - ugh! -4
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
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.