c语言求和
#include<stdio.h>int main(void)
{
int i,n,A,B,C,D,E,sum;
A=B=C=D=0;
scanf("%d%d%d%d%d%d%d",&sum,&sum,&sum,&sum,&sum,&sum,&sum);
if(sum>=90&&sum<=100){
A++;
printf("%d\n",A);}
else if(sum<=89&&sum>=80){
B++;
printf("%d\n",B); }
else if(sum<=79&&sum>=70){
C++;
printf("%d\n",C);}
else if(sum<=69&&sum>=60){
D++;printf("%d\n",E);
}
else E++;
return 0;
}
请问为什么结果都是0??