(Display matrix of 0s and 1s) Write a function that displays an n-by-n matrix using
the following header:
void printMatrix(int n)
Each element is 0 or 1, which is generated randomly. Write a test program that prompts the user to enter n and displays an n-by-n matrix. Here is a sample run
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.