程序代码:
#include"stdio.h"
#define MAXN 20
int a[MAXN][MAXN];
main()
{
int min, /* 存储最小值 */
max; /* 存储最大值 */
int row,col,n;
system("cls");
printf("Please input the order of the matrix:\n");/* 输入方阵的阶次 */
scanf("%d",&n);
printf("Please input the elements of the matrix,\n from a[0][0] to a[%d][%d]:\n",n-1,n-1);
for(row=0;row</n;row++)
</n;col++)
</n;row++)
没看懂这个程序到底是干嘛的 谁能解释的清楚一点 谢谢
#include"stdio.h"
#define MAXN 20
int a[MAXN][MAXN];
main()
{
int min, /* 存储最小值 */
max; /* 存储最大值 */
int row,col,n;
system("cls");
printf("Please input the order of the matrix:\n");/* 输入方阵的阶次 */
scanf("%d",&n);
printf("Please input the elements of the matrix,\n from a[0][0] to a[%d][%d]:\n",n-1,n-1);
for(row=0;row</n;row++)
</n;col++)
</n;row++)
没看懂这个程序到底是干嘛的 谁能解释的清楚一点 谢谢