Write a c program to get a matrix of order 3x3 and display a matrix of order of 4x4, with the fourth row and column as the sum of rows and columns respectively
Answers
Answered by
0
Answer:
Write a C program to read elements in a matrix and find the sum of elements of each row and columns of matrix. C program to calculate sum of rows and columns of matrix. Logic to find sum of each row and columns of a matrix in C programming.
Explanation:
Example
Input
Input elements in array:
1 2 3
4 5 6
7 8 9
Output
Sum of row 1 = 6
Sum of row 2 = 15
...
...
Sum of column 3 = 18
Similar questions