TOPIC

Alguém pode validar ? Wrong Answer (5%)

ldsantos7 asked 4 years ago

#include<stdio.h>

void verifica(int a){
    if(a<=8000){
            printf("Inseto\n");
    }
    else{
            printf("Mais de 8000!\n");
    }
}
int main(){
    long int N;
    int C;
    scanf("%d",&C);

    while(C>0){
        scanf("%ld",&N);
        verifica(N);
    C--;
    }

return 0;
}

Remember not post solutions. Your post may be reviewed by our moderators.

  • kenjiikeda replied 4 years ago

    falta o "!" no final de "Inseto"