#include<stdio.h>
void main()
{
int m,n,i,test,sum,count;
printf("请输入学生数:\n");
scanf("%d",&n);
count=0;
sum=0;
for(i=0;i<n;i++)
{
printf("请输入各学生成绩以空格隔开\n");
scanf("%d",&test);
sum=sum+test;
if(test>=60)
count++;
}
printf("avr=%.2f\n",sum*1.0/n);
printf("pass=%d\n",count);
printf("fail=%d\n",n-count);
}