Sum of all elemnts in first row and first cloumn of a matrix in c
Answers
Answered by
0
The program output is also shown below.
* C program to accept a matrix of order M x N and find the sum.
* of each row and each column of a matrix.
static int array[10][10];
int i, j, m, n, sum = 0;
printf("Enter the order of the matrix\n");
scanf("%d %d", &m, &n);
printf("Enter the co-efficients of the matrix\n");
* C program to accept a matrix of order M x N and find the sum.
* of each row and each column of a matrix.
static int array[10][10];
int i, j, m, n, sum = 0;
printf("Enter the order of the matrix\n");
scanf("%d %d", &m, &n);
printf("Enter the co-efficients of the matrix\n");
Answered by
0
⚫The program output is also shown below.
* C program to accept a matrix of order M x N and find the sum.
*➡️ of each row and each column of a matrix.
➡️static int array[10][10];
➡️int i, j, m, n, sum = 0;
printf("Enter the order of the matrix\n");
scanf("%d %d", &m, &n);
printf("Enter the co-efficients of the matrix\n");
* C program to accept a matrix of order M x N and find the sum.
*➡️ of each row and each column of a matrix.
➡️static int array[10][10];
➡️int i, j, m, n, sum = 0;
printf("Enter the order of the matrix\n");
scanf("%d %d", &m, &n);
printf("Enter the co-efficients of the matrix\n");
Similar questions