各位帮帮忙,请看看这个程序哪里错了
#include<stdio.h>main()
{int n;float ave=0;
printf("please input the number");
scanf("%d",n);
for
(
int i=1,score;
i<=n;
i++
)
{printf("the No.%d",i);
scanf("%d",score);
ave+=score;
}
ave/=i;
printf("the ave is%f",ave);}