You are on page 1of 1

MATRIX ADDITION

STEP 1: Include all necessary header files


STEP 2: Declare the variable m,n,I,j,a[10][10],b[10][10] as
Integer type.

STEP 3: Read the value of m and n.


STEP 4: Using for loop read the values of a[i][j] and b[i][j]
For values of i from 0 to m-1 and for values of j from
0 to n-1.

STEP 5: Compute c[i][j] = a[i][j]+b[i][j].


STEP 6: print the value of c[i][j].
STEP 7: Terminate the program execution.

You might also like