Quiz+4-8

Quiz 4-8:

Declare a two dimensional array (Matrix) of an integer data type that has 4 Rows and 8 Columns. Then show how you would fill the matrix with every cell containing the integer 5. Hint: I would use nested loops ( a loop inside of a loop). Good Luck!

Dim Matrix(4,8) as integer Dim R as integer Dim C as integer

For R = 1 to 4 For C = 1 to 8 Matrix(R,C) = 5 Next C Next R