Matrix operations
Program.c
Output:
Enter elements into first matrix:
1 2 3
4 5 6
7 8 9
Enter elements into second matrix:
9 8 7
6 5 4
3 2 1
Addition of two matrices:
10 10 10
10 10 10
10 10 10
Program.c
Output:
Enter elements into first matrix:
1 2 3
4 5 6
7 8 9
Enter elements into second matrix:
9 8 7
6 5 4
3 2 1
Subtraction of two matrices:
-8 -6 -4
-2 0 2
4 6 8
Program.c
Output:
Enter elements into first matrix:
1 1 1
1 1 1
1 1 1
Enter elements into second matrix:
1 1 1
1 1 1
1 1 1
Multiplication of two matrices:
3 3 3
3 3 3
3 3 3
Program.c
Output:
Enter elements into first matrix:
1 2 3
4 5 6
7 8 9
Transpose of a matrix:
1 4 7
2 5 8
3 6 9
With supporting text below as a natural lead-in to additional content.