[i], fp);\rutchar(c[i]);\rclose(fp);.\rc%100d\ref(gh?ij?k?ijg3 mnop?qrstuvwx(yzij{?|}?~mnop)?\rop?gwx
&w 0s?"stud"#\r.%&'(\r%)*+(\rinclude "stdio.h9\rtract student\rchar num[6];\rhar name[8];\rnt score[3];\rloat avr;\rstu[5];\riain()\rint i, j, sum;\rILE *fp;\r*input*/\ror (i=0;i<5;i++)\rprintf (zz\n please input No. %d score:\n?z, i);\rrintf (?zstuNo:?z);\rcanf(9%s9?stu[i]. num);\rrintf("name:9)V\rcanf(9s”, stu[i]. name);\rum=0;\ror(j=0;j<3;j++)\rprintf (""score %d, P,j+1);\rcanf (9%d9, &stu[i]. score[j]);\rum+=stu[i]. score[j];\rtu[i]. avr=sum/3. 0;\rp=fopen(9stud9,9w9);\ror(i=0;i<5;i++)\rf(fwrite(&stu[i], sizeof (struct student), 1, fp)!=1)\rrintf (?zfile write error\n?z);\rclose (fp);\rC