hi
I have this qustion about writing a program
this is it
writ the program that work to strip pff the digits one at a time from the integer that enter by user and then accumulate them on reverse in another integer.
THE OUTPUT SCREEN AS FOLLOWS:
enter a positive integer: 123456
the reverse is 654321
Hint:
123 % 10 = 3 ( % is the modulo operator, it returns the remainder of the division of the two operands )
123 / 10 = 12 ( integer division, the result will be truncated )