Write a program to calculate the sum of the elements of each row & column
Answers
Answered by
0
Answer:
int s=0;
for(i=0;i<n;i++)
{
for(j=0;j<n;j++)
{
s++;//ADD ELEMENTS OF MATRIX
}
}
Similar questions
Physics,
7 months ago
Science,
7 months ago
Science,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Biology,
1 year ago
Social Sciences,
1 year ago