Log in to add a comment

## Answers

{

static int[5][5]={

{11,1,7,9,7},

{13,54,56,2,5},

{23,43,89,22,13},

{14,15,17,16,19},

{45,3,6,8,10}

};

int i,j,big;

clrscr();

big=a[0][0];

printf("\nThe 5*5 matrix in:\n");

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

{

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

{

printf("%d\t",a[i][j]_;

if(a[i][j]>big)

big=a[i][j];

}

printf("\n");

}

printf("\nlargest no. in matrix is%d"",big);

getch();

}

i guess u can understand the logic :)