document was created with Spire.PDF for .NET.\r}\rfclose(fp);\r)\r=? ? 100]\r ??½Ò`nÓ0Ô`nÓ½3 ÕÖp²×0º¦CØ(ÙÚnÓÛ0ÜÝ0ÞÕ\rÖ ² × )0\rßà²×0áâ½pCØÀpßà\rC¹Ã㥶·FstudFp\r1 .\r??\r2 .???\r#include “stdio. hF\rstruct student\r{ char num[6];\rchar name[8];\rint score[3];\rfloat avr;\r} stu [5];\rmain()\r{int i, j, sum;\rFILE *fp;\r"input*/\rfor(i=0;i<5;i++)\r{ printf (z0\n please input No. %d score:\nz0, i);\rprintf(FstuNo:F);\rscanf stu[i]. num);\rprintf("name:F)6\rscanf stu[i]. name);\rsum=0;\rfor(j=0;j<3;j++)\r{ printf (z0score %d. F0j+1);\rscanf score [j]);\rsum+=stu[i]. score[j];\r)\rstu[i]. avr=sum/3.0;\r)\rfp=fopen(FstudF,FwF)6\rfor(i=0;i<5;i++)\rif(fwrite(&stu[i]ä sizeof(struct student), 1, fp)! = 1)\rprintf (0zfile write error\nz0);\rfclose(fp);