Question: Write a C++ program that prompts user to input 4 digit positive integer. The program then output the digits of the of the number, one

Write a C++ program that prompts user to input 4 digit positive integer. The program then output the digits of the of the number, one per line

Write a C++ program that prompts user to input 4 digit positive

Write a program that prompts the user to input a four-digit positive integer. The program then outputs the digits of the number, one per line For example, (20 marks) Enter a four digit positive integer: 3245 The digits of the number are: 3 2 4 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!