...

/

Challenge: Print a Matrix

Challenge: Print a Matrix

Solve the following challenge to print a matrix, i.e., a two-dimensional array.

Problem Statement #

Print a two-dimensional array of size n x n as shown below in the form of a matrix.

Function Prototype #

...