TOPIC
25% Wrong answer
gmgomes4 asked 3 years ago
Fala galera, alguém consegue me ajudar aonde estou errando? Valeu!!
include
int main() { int n,x,c,in,out;
scanf("%d",&n);
for(x = 1; x <= n; x++){
scanf("%d",&c);
if(c >= 10 && c <=20){
in=in+1;
}else
out=out+1;
}
printf("%d in\n",in);
printf("%d out\n",out);
return 0;
}
This topic was solved and cannot recieve new replies.