(Solved) : 835 Game Find Flipped Cell Suppose Given 6 X 6 Matrix Filled 1 Rows Columns Even Number Ls Q44044131 . . .
Please i need help with the solution
C++programming languagemultidimentional array8.35 (Game: find the flipped cell) Suppose you are given a 6 X 6 matrix filled with and 1. All rows and all columns have the even number of ls. Let the user flip One cell (i.e., flip from 1 to 0 or from 0 to 1) and write a program to find which cell was flipped. Your program should prompt the user to enter a 6 X 6 array with 0 and 1 and find the first row r and first column c where the parity is violated (i.e. the number of l’s is not even). The flipped cell is at (r, c). Here is a sample run: Enter a 6-by-6 matrix row by row: 111 011 – Enter 111100 Enter 010111- Enter 1 1 1 1 1 1 Enter 011110 – Enter 1 0 0 0 0 1 tot The first row and column where the parity is violated is at (0, 1) Show transcribed image text 8.35 (Game: find the flipped cell) Suppose you are given a 6 X 6 matrix filled with and 1. All rows and all columns have the even number of ls. Let the user flip One cell (i.e., flip from 1 to 0 or from 0 to 1) and write a program to find which cell was flipped. Your program should prompt the user to enter a 6 X 6 array with 0 and 1 and find the first row r and first column c where the parity is violated (i.e. the number of l’s is not even). The flipped cell is at (r, c). Here is a sample run: Enter a 6-by-6 matrix row by row: 111 011 – Enter 111100 Enter 010111- Enter 1 1 1 1 1 1 Enter 011110 – Enter 1 0 0 0 0 1 tot The first row and column where the parity is violated is at (0, 1)
Expert Answer
Answer to 8.35 (Game: find the flipped cell) Suppose you are given a 6 X 6 matrix filled with and 1. All rows and all columns have…
OR