Question: I don't understand how the process is going, how these equations are calculated. 0 1 2 3 4 5 6 7 8 9 10 11
I don't understand how the process is going, how these equations are calculated. 0 1 2 3 4
5 6 7 8 9
10 11 12 13 14
for(int row = 0; row < iLimit; row++) { / System.out.println(""); for(; col < (row+1)*jLimit; col++) { System.out.print(col + " "); x = col + 1; } The whole code : final int iLimit = 3;
final int jLimit = 5;
for(int i = 0; i < iLimit; i++) {
System.out.println("");
for(int j = 0; j < jLimit; j++)
System.out.print(j + " ");
}
System.out.println("\nThis is");
int x = 0, col = 0;
for(int row = 0; row < iLimit; row++) {
System.out.println("");
for(; col < (row+1)*jLimit; col++)
{ System.out.print(col + " ");
x = col + 1;
}
x = col + 1;
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
