Question: WRITE A C Language PROGRAM TO FIND SUM OF ELEMEMTS IN EACH ROW AND EACH COLUMN OF THE GIVEN MATRIX AND PRINT THE GREATEST OF
- WRITE A C Language PROGRAM TO FIND SUM OF ELEMEMTS IN EACH ROW AND EACH COLUMN OF THE GIVEN MATRIX AND PRINT THE GREATEST OF THE SAME USING 2D ARRAY. (Hint: Algorithm to find the sum of elements in each row and each column of the given matrix-
- Input the number of rows and columns of the matrix
- Input the matrix elements
- Transverse the matrix and find the sum of each row and each column and display them
- Find the row having the greatest sum and display it
- Find the column having the greatest sum and display it
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
