\r0@ P 100è\r` p ? 2 ? ´ é ?´é3 êë? J ì ÆÇÈA-\:\r( í î ´ é ï ð ñ NêëJì)ÂÃ\rH I J ì òT?\:qÂÃ?HI\ÙÝÍÈÖ×\r"stud"\r1 .@P?\r2 .@P !"?\r#include “ stdio.h"\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(u\n please input No. %d score:\nu ,i);\rprintf(ustuNo:u ).\rscanf(" s” , stu.num);\rprintf(u name:u )>\rscanf(u %su ,stu.name);\rsum=O;\rfor(j=0;j <3;j++)\r{ printf(u score %d.” ,j+1);\rscanf(" d",&stu.score[j]);\rsum+=stu.scoreO]>\r)\rstu.avr=sum/3.0;\r)\rfp=fopen("stud” ,"w” )>\rfor(i=0;i <5;i++)\rif(fwrite(&stu,sizeof(struct student), 1 ,fp)!=1)\rprintf(44file write error\nu )>\rfclose(fp);\r)