hi guys. i'm having trouble understanding the flow of this loop, more specifically, nested loops in general. can somebody walk me through it? its a very small one.
it outputs this:Code:for(int row =1; row <= 6; row++){
for(int col = 1; col <= row; col++)
System.out.print(col + " ");
System.out.println();
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
1 2 3 4 5 6

