01\r:;ÆØkyÙpÚkyÙÆ3 ÛÜ{»Ýp£¤¥¦§Ã°TÞßàáyÙ\râpãäp?ÛÜ»Ýåp\ræç»ÝpèéÆ{TÞ0{æçTÂÊꯥ¿À"stud"\r1.??\r2.??\rSinclude 6stdio.h6\rstruct student\r{ char num[6];\rchar name[8];\rint score [3];\rfloat avr;\r} stu [5];\rmainO\r{int i, j, sum;\rFILE *fp;\r/*input*/\rfor(i=0;i<5;i++).\r{ printf (z\n\n please input No. %d score:\nz\n, i);\rprintf ("stuNo:)\rscanf(sP?stu[i]. num);\rprintf ("name:)\rscanf (%sP?stu[i]. name);\rsum=0;\rfor(j=0;j<3;j++)\r{ printf ("score %d. z\n, j+1);\rscanf (%d, score[j]);\rsum+=stu[i]. score[j];\r)\rstu[i]. avr=sum/3. 0;\r)\rfp=fopen(studP?Pw)\rfor(i=0;i<5;i++)\rif(fwrite(&stu[i], sizeof(struct student), 1, fp)!=1)\rprintf (z/file write error\nz\n) ;\rfclose (fp);