#include void main() { int a[10][10],i,j,sum=0,m,n; printf("\nEnter the row and column of matrix: "); scanf("%d%d",&m,&n); printf("\nEnter the elements of matrix: "); for(i=0; i