Question: Digits of An Integer: Write the algorithm that solves the following problem: input a five digit integer from the user, separate the integer into its
Digits of An Integer: Write the algorithm that solves the following problem: input a five digit integer from the user, separate the integer into its 5 digits and print them separated by three spaces each. [Hint: Use the integer division and remainder operators.] Specify the input, output and the steps of your algorithm. For example, if the user types in 42339 , your program should print: 42339
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
