作业帮 > 综合 > 作业

C语言,去掉最高分和最低分求平均值

来源:学生作业帮 编辑:作业帮 分类:综合作业 时间:2024/05/27 21:44:40
C语言,去掉最高分和最低分求平均值
原题
Description
Super girls is well-known to young men.But how to choose the super girls?We can see from the Hunan TV that there are many judges mark to the girls.If a girl gets marks of 95 ,100,85 and 95.Her score is 95---(95+95)/2--- because the top mark 100 and the bottommost 85 should take out.
Input
This problem contains multiple test cases!Each test case one line starts with an integer n( the number of judges,3
min=a[0];
max=a[0];
这2句放循环外面