+ 1
Solve it and run it
It is C program of adding of two matrix https://code.sololearn.com/cps9UqwXH8Ls/?ref=app
4 odpowiedzi
+ 2
Solve it and run it
Or
Run it and Solve it.
What issues you are facing.
+ 1
It is not giving a proper answer in the form of matrix
0
I had a quick look, is your trouble because of scope of variables within a function? Will it work if you make your variables global?
[edit: that wasn't necessary, I input:
2 2
1 2 3 4
1 2 3 4
and got result:
2 4
6 8
your code works]
0
Thanks you so much