C Program to Check Number is Even or Odd

By | February 19, 2013

Here you will get C program to check given number is even or odd.

We will use following simple logic in this program.

If a number is divisible by 2 then it is even.

If a number is not divisible by 2 then it is odd.



Enter any number:17
The number is odd

Leave a Reply

Your email address will not be published. Required fields are marked *