#include <stdio.h>
int main()
{
int n, pass=0, n_pass=0, i, sum=0;
float average;
for(i=1;i<=10;i++)
{
printf("%d번의 퀴즈 점수는? ", i);
scanf("%d", &n);
sum+=n;
if(n>=70)
pass++;
else
n_pass++;
}
average=sum/10.0;
printf("===========================\n");
printf("평균 : %.2f점\n", average);
printf("통과자 : %d\n", pass);
printf("탈락자 : %d\n", n_pass);
}