#include <stdio.h>
main() {
int n;
printf("Enter an integer\n");
scanf("%d", &n);
if ((n / 2) * 2 == n)
printf("Even\n");
else
printf("Odd\n");
return 0;
}
/*-via Programming Hub for Android, a top rated Programming App on Google Play
https://play.google.com/store/apps/details?id=com.freeit.java*/
Sunday, August 16, 2015
Program: Find Even or Odd
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment