【问题描述】利用函数,求矩阵鞍点的位置.有一个3*4的矩阵,要求找出矩阵的鞍点(即在矩阵行中最大,列中最小的数),并输出它所在的行号和列号.若没有鞍点,输出"没有鞍点"字样.
【输入形式】顺序输入矩阵数据,空格分开;
【输出形式】there is a an-dian a[1][2]=4; 或"there is no an-dian "
【样例输入】1 3 5 3 2 3 4 1 3 2 6 7
【样例输出】there is a an-dian a[1][2]=4
//求矩阵鞍点 #includeusing namespace std; int main() { int jz[3][4],r=0,c=0,max,temp; for(int i=0;i<3;++i) { for(int j=0;j<4;++j) { cin>>jz[i][j]; } }//输入3*4的矩阵 for(int i=0;i<3;++i) { max=jz[i][0]; temp=0; for(int j=0;j<4;++j) { if(jz[i][j]>max) { max=jz[i][j]; c=j; r=i;//取行中最大的数,并记录行数和列数 } } for(int j=0;j<3;++j) { if(jz[j][c]



