From dc11a79d11d3cb26d84ee84560e51d894809c01b Mon Sep 17 00:00:00 2001 From: p2pwza8cv <2467848647@qq.com> Date: Sat, 22 Apr 2023 20:20:50 +0800 Subject: [PATCH] Add z15 --- z15 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 z15 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]);} +} -- 2.34.1