Hello,

Let's say the user inputs the number 7. THe program will output this:

Code:
7
66
555
4444
33333
222222
1111111
The rules my teacher stated is ONLY for loops. No if statements, just for loops. You can nest a for loop but that is all. Can anyone solve this?