#include stdio.h#include stdlib.hint main() int n,i,g,A,B,C,D,E; float sum,avg; sum=0;A=0;B=0;C=0;D=0;E=0;n=0;avg=0; printf(Enter n); scanf(%d,&n); for(i=1;i=0&g=90) A+; else if(g=80) B+; else if(g=70) C+; else if(g=60) D+; else E+; printf(A=%d B=%d C=%d D=%d E=%d,A,B,C,D,E); printf(平均成绩=%f,avg); system(pause); return 0;