Behavior of the outer loop

Returning now to the code in Listing 1.

The purpose of this program is to compute and to display a set of values in a row-column matrix format as shown in Figure 1.

0 0 0 0 0
0 1 2 3 4
0 2 4 6 8
Figure 1