Write a program that prompts the user to enter a four-digit integer and displays the number in reverse order. here is a sample run:
enter an integer: 5213
3
1
2
5

Solved
Show answers

Ask an AI advisor a question