Question: C++ Programming (From book) Write a program that reads a four-digit integer, such as 1998, and then displays it, one digit per line. Your prompt
C++ Programming

(From book) Write a program that reads a four-digit integer, such as 1998, and then displays it, one digit per line. Your prompt should tell the user to enter a four-digit integer. You can then assume that the user follows directions. Hint: Use the division and remainder operators. Desired output: Enter a four-digit number: 1998 1 9 9 8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
