2081.2 12

C Programming2081.25 marksTwo-dimensional arrays

Write a program to add two 3×3 matrices.

Write a program to add two 3×3 matrices. [5]

--- Step Description ------------------- Step 1 Declare three 3x3 integer arrays: A, B, and C Step 2 Use nested for loops to read elements of matrix A Step 3 Use nested for loops to read elements of matrix B Step 4 Add corresponding elements: C[i][j] = A[i][j] + B[i][j] Step 5 Print the resulting...

Up nextArray Definition and Differentiation