Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

3.-2 Welcome to the matrix subtracting program Please enter the length of the fi

ID: 1765943 • Letter: 3

Question

3.-2 Welcome to the matrix subtracting program Please enter the length of the first matrix Please enter the height ofIthe first matrix Please enter the length of the second matrix Please enter the height of the second matrix Please enter a value for matrix 1 space 1, 1 Please enter a value for matrix 1 space 1, 2 Please enter a value for matrix 1 space 2, 1 Please enter a value for matrix 1 space 2, 2 Please enter a value for matrix 2 space 1, 1 Please enter a value for matrix 2 space 1, 2 Please enter a value for matrix 2 space 2, 1 Please enter a value for matrix 2 space 2, 2

Explanation / Answer

#include void trace(int arr[][10], int m, int n); void main() { int array1[10][10], array2[10][10], arraysum[10][10], arraydiff[10][10]; int i, j, m, n, option; printf("Enter the order of the matrix array1 and array2 "); scanf("%d %d", &m, &n); printf("Enter the elements of matrix array1 "); for (i = 0; i