编写一个程序,读入个数不确定的(<=100个)考试分数,并且判断有多少个分数是大于或等于平均分,多少个分数是低于平均分的。输入一个负数表示输入的结束。假设成绩的最高分为10分。
样例输入
9.3 5.3 4.1 6.0 4.2 1.2 3.2 7.1 -3.1
样例输出
count is 8
Average is 5.0500
Number of scores above or equal to the average 4
Number of scores below the average 4
提示
均值保留四位小数。