Last active
December 22, 2015 23:59
-
-
Save edusantana/6550579 to your computer and use it in GitHub Desktop.
Dúvida sobre operadores
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
O erro era na linha tal.... kjjhsdkfjsdfk