void vtphantumax(int a[][100],int n,int m)
{
int d=0,c=0;
for(int i=0;i<n;i++)
for(int j=1;j<m;j++)
if(a[d][c]<a[i][j])
{
d=i;
c=j;
}
cout<<"dong thu "<<d<<" cot thu "<<c;
}
0 comments:
Post a Comment