diff --git a/lpy.c b/lpy.c new file mode 100644 index 0000000..1a677c8 --- /dev/null +++ b/lpy.c @@ -0,0 +1,15 @@ +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); + } +} \ No newline at end of file