Skip to content

Instantly share code, notes, and snippets.

@salmanwahed
Created November 7, 2016 11:38
Show Gist options
  • Save salmanwahed/e399a05f85ed89c79744700046e8e627 to your computer and use it in GitHub Desktop.
Save salmanwahed/e399a05f85ed89c79744700046e8e627 to your computer and use it in GitHub Desktop.
#include<stdio.h>
int main(){
int num;
while(scanf("%d", &num)==1){
if(num % 2 == 0){
printf("Even\n");
}
else{
printf("Odd\n");
}
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment