Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- int n[4][5]={0}, i, j, max=0, lin, col;
- for(i=0; i<4; i++){
- for(j=0; j<5; j++){
- scanf("%d", &n[i][j]);{
- if(n[i][j] > max){
- max=n[i][j];
- lin=i;
- col=j;
- }
- }
- }
- }
- printf("%d %d %d", max, lin, col);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement