#include <stdio.h>
int main()
{
int n;
printf("Enter an integer: ");
scanf("%d", &n);
// Number will be even if the number is perfectly divisible by 2
if(number % 2 == 0)
printf("%d is even number.",n);
else
printf("%d is odd Number.",n);
return 0;
}
About James Barret
24 Articles
James Barret is a short story writer, blogger, and author at many of websites. Now at this time, James is working for ApplePit.Com and MrkidsHaircuts.Com
Be the first to comment
This site uses Akismet to reduce spam. Learn how your comment data is processed.
Leave a Reply