Read the four-digit integer as a string. Use String methods instead of the hint.
Write a program that reads a four-digit integer, such as 1998, and then displays it, one digit per line,like so:
1
9
9
8
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.)
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.