Last active
February 24, 2017 20:18
-
-
Save FelipeGrijo/00abe6978cfb32e8bc31eac7a015064d to your computer and use it in GitHub Desktop.
1) Entrar com um número e imprimi-lo caso seja maior do que 20.
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
//https://gist.github.com/FelipeGrijo | |
#include <stdio.h> | |
int main() | |
{ | |
int Numero; | |
printf("Exercicio 1\nDigite um numero:"); | |
//fflush(stdin); | |
scanf("%d",&Numero); | |
if(Numero > 20){ | |
printf("%d\n",Numero); | |
} | |
//system("pause"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment