The conditional test

According to the conditional clause, the outer for loop will continue to iterate for as long as the value of the row counter is less than the value of rowLim

Thus, the outer for loop in this program controls the iteration on the rows shown in Figure 1.

All of the code in the body of the loop, which includes an inner for loop, will be executed during each iteration of the outer loop.