Separating digits in an integer write a program that inputs


Question: (Separating Digits in an Integer) Write a program that inputs one five-digit number, separates the number into its individual digits and prints the digits separated from one another by three spaces each. For example, if the user types in 42139, the program should print

4    2    1    3    9

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Separating digits in an integer write a program that inputs
Reference No:- TGS02403553

Now Priced at $10 (50% Discount)

Recommended (91%)

Rated (4.3/5)