Iteratively divide N by 10, recording the remainder of the
division at each step, until N has value of zero. Then interatively
recall the remainders, in the same order they were retrieved, and
write them from left to right.
Wiki User
∙ 13y ago
This answer is:
👍 Helpful (1)👎 Not Helpful (0)
Add a Comment
Add your answer:
Earn +20 pts
Q: How to write an algorithm that reads a number N calculates and displays the reverse of N e.g 3465789 becomes 9875643?