Skip to content

Instantly share code, notes, and snippets.

@edusantana
Last active December 22, 2015 23:59
Show Gist options
  • Save edusantana/6550579 to your computer and use it in GitHub Desktop.
Save edusantana/6550579 to your computer and use it in GitHub Desktop.
Dúvida sobre operadores
#include <stdio.h>
int main(void) {
int i;
do{
printf ("\nEscolha a fruta pelo numero:\n");
printf ("\t(1)...Mamao\n");
printf ("\t(2)...Abacaxi\n"); // comebtario
printf ("\t(3)...Laranja\n");
scanf("%d", &i);
} while ((i<1) || (i>3));
return 0;
}
@edusantana
Copy link
Author

O erro era na linha tal.... kjjhsdkfjsdfk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment