Question: Writing a program that if an element in an m*n matrix is 0, it's entire row and column is set to 0. The user must
Writing a program that if an element in an m*n matrix is 0, it's entire row and column is set to 0.
The user must enter the number of rows, columns and contents of the array.
The code attached doesn't work but the code in the comments works which has a manually entered matrix. I need a user input matrix
Vodacom 1:43 PM Done 1 of 2 #include
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
