Home C Language Basic C Programs Even Odd Program in C

Even Odd Program in C

Write a C Program to Find Whether the Given number is Even or Odd.


int main()


   int a;

   printf(“Enter a number values :”);



   printf(“Given number is EVEN number\n”);


   printf(“Given number is ODD number\n”);

   return 0;



i) Enter a number : 20968

Given number is EVEN number

ii)Enter a number : 4625

Given number is ODD number

For improvement of your coding skills we give some tasks along this. If you solve this tasks and send to our email (onlineexamshubteam@gmail.com) with your details. We will display your details(like Name, City, college, photo) in our site.

Task: Write a c program to read two values and check whether the second number is factor of first number or not.