I'm learning C at my local university.
For homework assignment 3, I wrote a program that requests a
positive integer from the user, then replies,
"your number is ___"
"it has ___ digits"
"the reverse number is: ___"
with all the relevent information filled in and it works well.
The assignement is due next week.
The problem is: today I received an email saying I'm not allowed
to use an array or a string in writing the program!
I can't figure out how I can possibly get the reverse number to
the screen without using an array or a string.
(Only the reverse number is stumping me; both echoing the number
and giving the number of digits I can do)
Please tell me how I can do this.