power of looping >.< in my project
use any type of loop that would find you easy in solving the given machine problem
the input value is a non-negative number from 1 - 20,otherwise, an invalid message will be displayed prompting the user of invalid entry
the output is the row and column size of the number being entered
EXAMPLE
SAMPLE INPUT
Enter a number ( 1 - 20 ) - 5
SAMPLE OUTPUT : (5x5) matrix
1 @ @ @ 1
@ 2 @ 2 @
@ @ 3 @ @
@ 4 @ 2 @
5 @ @ @ 5
guyz help me with this please i need this for my project
looping , my instructor has no explanation about this >.<
help me guyz im only 16 years old . and first time for java .
Re: power of looping >.< in my project
Look at the print out row by row. What goes on each row? What is the relationship between what goes on a row with the row number. Where on each row does the number go?
If you were to print any one row given the row number, where would you position the numbers for that row. For row 2 where on the row do the '2's go?
Re: power of looping >.< in my project
are you sure that the question is right? I think in sample output the 4th row should be like this: @ 4 @ 4 @
Re: power of looping >.< in my project
Re: power of looping >.< in my project
Have you worked out what goes on a line/row? For example: what goes on the first line?