From 086f488654ea52af6e1b85ea7221d0ee1970c0ab Mon Sep 17 00:00:00 2001 From: zhangyu <387881603@qq.com> Date: Sat, 15 Apr 2023 17:04:15 +0800 Subject: [PATCH] =?UTF-8?q?ZY=5F=E8=AE=A1=E7=AE=97=E6=AF=8F=E4=B8=AA?= =?UTF-8?q?=E5=AD=A6=E7=94=9F=E5=90=84=E9=97=A8=E8=AF=BE=E7=A8=8B=E6=80=BB?= =?UTF-8?q?=E5=88=86=E5=92=8C=E5=B9=B3=E5=9D=87=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6041a31..74fc807 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,17 @@ void ReadScore(STU stu[],int n,int m) ``` void AverSumofEveryStudent(STU stu[],int n,int m) { - + int i,j; + for(i=0;i0 ? stu[i].sum /m : -1; + printf("student %d: sum = %.0f,aver = %.0f\n",i+1,stu[i].sum,stu[i].aver); + } } ```