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); + } } ```