[求助]怎么不能循环?
#include "stdio.h"#include "conio.h"
main()
{
int b=0,j=0,q=0,m=0;
float p[100],sum=0;
scanf("%f",p[m]);
while(p[m]>0)
{sum=sum+p[m];
if(p[m]>=100) b++;
else if(p[m]>=90) j++;
else q++;
m++;
scanf("%f",p[m]);
}
printf("zongfeng=%f pingfen=%f person=%d",sum,sum/m,m);
getch();
}