Q:

How do I output "123 12 1" on separate lines with Java loops?

can you hep me about my assignment?
it says that I have to create a program that the output is like this:
123
12
1

we gotta use loop statements
and I really can't think the answer.
please help me..

A:

Run an index, say we name it I, in a loop from N to 1, and inside the first loop run another index from 1 to I. 
I think I told you enough.

Clarification: I see other people think you might have wanted to print the quotients when dividing a number by successive powers of 10. I find that situation not so probable. But if it's just a coincidence that your numbers have consecutive digits then please disregard my answer and take a look at the other posted here.

