en(C,w<;\rfor(i=0;i<n;i++)\r{putc(c[i],fp)`EvaluationWarning:ThedocumentwascreatedwithSpire.PDFfor.NET.\rputchar(c[i]);\r)\rfclose(fp);\r)\r_ 100±\r`a`²y³´,µy³´3¶·k¸,qrstum¹(º»³´¼,½\r¾1¿¶·¸)1bci\rÀÁ¸,ÂÃkm¹bcikÀÁ@m¡Ässtudg.\rL @P`\r2. \n`\rSinclude"stdio.h\rstructstudent\r{charnum[6];\rcharname[8];\rintscore[3];\rfloatavr;\r}stu[5];\rmain()\r{inti,j,sum;\rFILE*fp;\r/*input*/\rfor(i=0;i<5;i++)\r{printf(zz\npleaseinputNo.%dscore:\n1i);\rprintf(stuNo:)<\rscanf(os”,stu[i].num);\rprintf("name:)<\rscanf(%s1stu[i].name);\rsum=0;\rfor(j=0;j<3;j++)\r{printf(z/score%d.,j+1)<\rscanf(%d,&stu[i].score[j]);\rsum+=stu[i].score[j];\r)\rstu[i].avr=sum/3.0;\r)\rfp=fopen(stud,w)<\rfor(i=0;i<5;i++)\rif(fwrite(&stu[i],sizeof(structstudent),1,fp)!=1)\rprintf(/zfilewriteerror\n1z);\rfclose(fp);\r)