输入某班学生某门课的成绩(最多不超过40人),当输入为负值时,表示输入结束,
用函数编程统计成绩高于平均分的学生人数。
要求按如下原型编写统计成绩在全班平均分及平均分之上的学生人数
int GetAboveAver(int score[], int n);
**输入要求:"%d"
**输出要求:
"Total students are %d\n"
"Average score is %d\n"
"Students of above average is %d\n"
程序运行示例:
78 45 89 43 45 -1
Total students are 5
Average score is 60
Students of above average is 2