int[,]array=newint[,]{{30,20,25,40,45},{80,19,70,90,11},{24,14,42,91,96},{32,17,82,72,38}};
Console.Write("/n{0}行{1}列的数值矩阵为:");
for(i=0;i
Console.WriteLine();
for(j=0;j
Console.Write("{0}",array[i,j]);
}
}
for(i=0;i
max=array[i,j];
min=array[i,j];
for(k=0;k
if(array[i,j]==max&&array[i,j]==min)
{
Console.WriteLine("/n马鞍点是第{0}行,第{1}列的{2}",i,j,array[i,j]);
}
}