弗原創IT教育中心 while(con_key==x20) iclrscrO print("输入第%2d个学生的成绩\n",i++) printf("平时实习测验期末成绩\n") score [4]=0 for(=0;j<4;j++) (scanf( %f, &score [iD) score[ 4+= score ll * ratio lil print("总评成绩为:%6,fn",sore[4) printf("\n按空格键继续,其它键退出"); con_key=getch o; 程序运行(9)while(con_key==' while(con_key==' \x20') {clrscr(); printf("输入第%2d个学生的成绩 \n", i++); n", i++); printf("平时 实习 测验 期末成绩 \n"); score[4]=0; score[4]=0; for(j=0; j<4; j++) for(j=0; j<4; j++) {scanf("%f",&score[j scanf("%f",&score[j]); score[4] += score[j] * ratio[j]; score[4] += score[j] * ratio[j]; } printf("总评成绩为:%6.1f\n", score[4]); n", score[4]); printf(" printf(" \ n按空格键继续 ,其它键退出"); con_key= con_key=getch(); } } 程序运行 ( 9 )