Question: Write a complete C++ program to do the following: 1) Read a (4-Digits) integer value. 2) Print each digit in a single line. Example :

Write a complete C++ program to do the following: 1) Read a (4-Digits) integer value. 2) Print each digit in a single line. Example : Enter value : 5472 Output : 5 4 7 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
