From 4020c9ab588bbc5fdc2432b2d7ebfcca2a9d3d7b Mon Sep 17 00:00:00 2001 From: liyuxuan <2928130624@qq.com> Date: Thu, 20 Apr 2023 21:17:08 +0800 Subject: [PATCH] lyx --- lyx.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 lyx.md diff --git a/lyx.md b/lyx.md new file mode 100644 index 0000000..b5e381e --- /dev/null +++ b/lyx.md @@ -0,0 +1,16 @@ +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); + } +} +