TOPIC

Alguem me ajuda o que estou errando?

luiz175 asked 3 years ago

include

int main() { int A,B,C,D; scanf("%d",&B); scanf("%d",&A); scanf("%d",&C); scanf("%d",&D);

if ((B>C) && (D>A) && (C+D>A+B) && C>0 && D>0 && (A%2==0)){ printf("Valores aceitos\n"); } { else printf("Valores nao aceitos\n"); } return 0; }

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

  • phenrique651 replied 2 years ago

    Você abriu chave antes do else ao invés de entre o else e printf