r(c[i]);\r)\rfclose(fp);\r 0 100]\r?P"0©Û!{0©ÛP3 ÜÝ1<Þ!¶·¸¹3O*(ßà©Û\rá!âã!@ÜÝ<Þ)!²³\r:;<Þ!äFP1O*d²³1:;\rOÌп¸ÉÊ“stud”@\r1 . 0\r??\r2 . 0?\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(n\n please input No. %d score:\nn,i);\rprintf(nstuNo:n);\rscanf(n%sn,stu[i].num);\rprintf("name:")\rscanf(n%su,stu[i].name);\rsum=0;\rfor(j=0;j<3;j++)\r{ printf(nscore %d.nj+ l);\rscanf(n%d",&stu[i].score[j]);\rsum+=stu [i]. score fj];\r)\rstufi].avr=sum/3.0;\rfp=fopen("stud,,,,,w");.\rfor(i=0;i<5;i++)\rif(fwrite(&stu[i],sizeof(struct student),l,fp)!=l)\rprintf(nfile write error\nn);\rfclose(fp);