Skip to content

Instantly share code, notes, and snippets.

@kanazux
Created April 15, 2014 13:08
Show Gist options
  • Save kanazux/10731158 to your computer and use it in GitHub Desktop.
Save kanazux/10731158 to your computer and use it in GitHub Desktop.
Gabriel
#include "stdlib.h"
#include "stdio.h"
int main(){
int x=0,y;
while(x<=20){
printf("Digite um numero\n");
scanf("%i", &y);
if (y % 2 == 0)
printf("O numero é par!!!\n");
else
printf("O numero e impar!!!\n");
x++;}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment