Computer Science, asked by mghh8036, 1 year ago

Write a program to calculate the sum of the elements of each row & column

Answers

Answered by nehatneha11
0

Answer:

int s=0;

for(i=0;i<n;i++)

{

for(j=0;j<n;j++)

{

s++;//ADD ELEMENTS OF MATRIX

}

}

Similar questions