Program to find the Sum of each Row and each Column of a Matrix
Given a matrix of order mÃn, the task is to find out the sum of each row and each column of a matrix. Examples: Input: array[4][4] = { {1, 1, 1, 1}, {2, 2, 2, 2}, {3, 3, 3, 3}, {4, 4, 4, 4}}; Output: Sum of the 0 row is = 4 Sum of the 1 row is = 8 Sum of the 2 row is = 12 Sum of the 3 row is = 16 Su