Question: (10 points) Write a C++ program to add two matrices a and b and save the result in c . The program should prompt the
(10 points) Write a C++ program to add two matrices a and b and save the result in c. The program should prompt the user to enter two 33 matrices, display the matrices and their addition.

Sample Run:
Enter a 3 X 3 matrix: 100 45 -3 4 -12 20 67 20 -9
Enter a 3 X 3 matrix: 10 20 -30 1 2 3 -4 -100 50
Matrix1:
100 45 -3
4 -12 20
67 20 -9
Matrix2:
10 20 -30
1 2 3
-4 -100 50
The addition of the matrices is:
110 65 -33
5 -10 23
63 -80 41
a11 a12 13 a21 a22 a2b21 b2 b23a2b21 a22 b22 a23 +b23 a31 a32 a33/ 11 012 013 21 22 b31 b32 b33/ 632 33 +
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
