1. Matrix addition in C program.
Two dimensional
array
Answers
Answered by
1
Answer:
In this program, the user is asked to enter the number of rows r and columns c . Then, the user is asked to enter the elements of the two matrices (of order r*c ). We then added corresponding elements of two matrices and saved it in another matrix (two-dimensional array).
Answered by
0
Answer:
...........
Explanation:
Just clear headers file of your prototype
State Main()
In body simply clear data types (integers)
In body you've to code that works.
Make a code for A
Input - printf/cout
(scanf/cin) - a11,a12,a21,a22
Again, do it for B
Then add its corresponding elements
Final - a11+b11 .......
Similar questions