xds<60)d[3]+=1;}printf("\n90-100%d%d%d%d\n",a[0],a[1],a[2],a[3]);printf("\n80-89%d%d%d%d\n",b[0],b[1],b[2],b[3]);printf("\n60-79%d%d%d%d\n",c[0],c[1],c[2],c[3]);printf("\n60以下%d%d%d%d\n",d[0],d[1],d[2],d[3]);}voidf(){intn=0;while(n<N){printf("\n");++n;}}main(){STUs[40];intz,x,y=1;f();while(y!=2){printf("\n*********************************\n");printf("\n*****1***成绩输入***********\n");printf("\n*****2***成绩查询***********\n");printf("\n*****3***个人均分***********\n");printf("\n*****4***各科均分***********\n");printf("\n*****5***各科分数段*******\n");printf("\n*********************************\n");scanf("%d",&x);switch(x){case1:input(s,2);break;case2:output(s,2);break;case3:avg(s,2);break;case4:avg1(s,2);break;case5:num(s,2);break;}printf("\n1--返回主菜单2--退出\n");scanf("%d",&z);y=z;}printf("\nOVER\n");return(0);}