pastebin

Paste Search Dynamic
Recent pastes
rows columns
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int rows=3, columns=4, i, j, k;
  5. int a[3][4]={1,2,3,5,7};
  6. i=j=k=0; for(i=0;i<rows;i++)
  7. for(j=0;j<columns;j++) if(a[k][j]<k)
  8. k=a[i][j];
  9. printf("%dn",k); return 0;
  10. }
Parsed in 0.003 seconds