News

int main() { int m,n,i,j,k; cout<<"ENTER THE SIZE OF ROWS AND COLUMNS\n"; cin>>m>>n; int a[m][n],b[m][n]; cout<<"ENTER"<<m*n<<" NUMBERS\n"; for(i=0;i<m;i++){ for(j=0 ...
For a given two-dimensional integer array/list of size (N x M), you need to find out which row or column has the largest sum(sum of all the elements in a row/column) amongst all the rows and columns.