+ 1

A c++ program to add matrixes

Matrix addition

22nd Oct 2017, 3:33 PM
Keshav Balaji
Keshav Balaji - avatar
2 Answers
+ 18
for (int i = 0; i < ROW; i++) for (int j = 0; j < COL; j++) MatA[i][j] += MatB[i][j];
22nd Oct 2017, 3:46 PM
Hatsy Rei
Hatsy Rei - avatar
+ 1
thanks
22nd Oct 2017, 3:51 PM
Keshav Balaji
Keshav Balaji - avatar