Richard P.

asked • 06/22/23

(Split digits) 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

The reversal is

3

2

1

3

1 Expert Answer

By:

James W. answered • 06/23/23

Tutor
New to Wyzant

MIT Math and Computer Science Teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.