Write a program to pick up the largest number from any 5 row by5 coloumn matrix ?
Answers
Answered by
0
pls mention the computer language in which this program is to be written
Answered by
0
#include<stdio.h>
main()
{
int lnum[5][5];
int i,j;
for(i=0;i<=4;i++)
{
printf("\n");
for(j=0;j<=4;j++)
{
printf("Enter the number");
scanf("%d",&lnum[i][j]);
}
}
for(i=0;i<=4;i++)
{ printf("\n");
for(j=0;j<=4;j++)
{
printf("%d",lnum[i][j]);
}
}
getch();
}
main()
{
int lnum[5][5];
int i,j;
for(i=0;i<=4;i++)
{
printf("\n");
for(j=0;j<=4;j++)
{
printf("Enter the number");
scanf("%d",&lnum[i][j]);
}
}
for(i=0;i<=4;i++)
{ printf("\n");
for(j=0;j<=4;j++)
{
printf("%d",lnum[i][j]);
}
}
getch();
}
Similar questions