Number of rows and columns

Listing 1 declares and initializes a pair of variables named rowLim and colLim to values of 3 and 5 respectively.

These variables will be used to cause the matrix that is displayed to have 3 rows and 5 columns.

(See Figure 1.)