diff --git a/z15 b/z15 new file mode 100644 index 0000000..78d6ad5 --- /dev/null +++ b/z15 @@ -0,0 +1,11 @@ +// 15函数功能: 打印学生成绩 +void Printscore(STU stu[],int n, int m) +{int i, j; +for (i = e; i < n; i++) +{ +printf("%ld\t%s\t",num[i],name[i]); +for (j = e; j < m; j++) +{ + printf("%.ef\t", score[i][j]);} +printf("%.ef\t%.ef\n",sum[i],aver[i]);} +}