Posts by Henrique Malone • 1 point
1 post
-
0
votes1
answer2019
viewsQ: Sum the diagonals of a matrix
I need to do a program that takes out the diagonals of a matrix. As an example But I’m having a hard time. Follows code: #include <stdio.h> #include <math.h> #define M 4 #define N 3 int…