题目内容

挑选成绩:要求输入某个班50名同学数学课的成绩,求出该课程的平均成绩,并将不低于平均成绩的那一部分成绩输出。#include "stdio.h"#include "stdlib.h" //其中包含后面要用到的system函数#define RENSHU 50 //总人数int main(){int 请选择A,i; //定义一维数组用于存放各人成绩//sum用于存放总分,初值为0,average用于存放平均分float sum=0,average;printf("\n请逐个输入全班所有人(%d个)的数学课成绩:",RENSHU);for(i=0;i=average)printf("%4d",chengji[i]);printf("\n");//用system函数调用OS系统命令pause以实现暂停从而方便用户看清结果system("pause");return 0;}

查看答案
更多问题

These results are ______ with the findings of the previous study. (consistent, consistency)

The statistics ______ a change in people’s spending habits. (reflect, reflection)

Twenty-five dollars was ______ more than he had expected to pay. (considerable, considerably)

Direct ______ between the two languages is not possible. (compare, comparison)

答案查题题库