#include
double Max(double *z, int r, int c, int n){
double m=*(z+n);
int i;
for(i=1; i
m=*(z+i*c+n);
return m;
}
int main()
{
int row,col,i,j,n;
double *p,max;
cout <<"row=?";
cin >>row;
cout <<"col=?";
cin >>col;
p=new double[row*col];
for(i=0; i
}
cout <<"n=?";
cin >>n;
max=Max(p,row,col,n);
cout <<"max=" <
}