|
-
Feb 24th, 2003, 06:53 PM
#1
Thread Starter
Hyperactive Member
Reversing a number (palendrome-ish)
I'm trying to create a program that can reverse any number entered by the user. For example, lets say the user enters the number 12345. The program would then reverse the number and display 54321. I'm sure there's a function for this but I'm limited to using division and modulus operations (it's for my c++ class). Thanks ahead of time.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|