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
 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

Vodacom 1:43 PM Done 1 of 2 #include #include #include

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!