Write a program that generates a 6-by-6 two-dimensional matrix filled with 0s and 1s, displays the matrix,

Question:

Write a program that generates a 6-by-6 two-dimensional matrix filled with 0s and 1s, displays the matrix, and checks if every row and every column have an even number of 1s.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: