Even or Odd number program in C Programming Language.

If you are a beginner to C programming language this program will help you to understand the implementation of ODD AND EVEN Numbers.

You must be aware that **“Odd numbers** are those that have a remainder other than zero after dividing by 2 and vice versa **Even numbers** are those that have a remainder as zero after dividing it by 2″

### Even or Odd number program in C

/*codeatglance Even or Odd number program in C*/ #include<stdio.h> int main() { int n; printf("Enter a number:\n"); scanf("%d",&n); if(n%2==0)// checking the remainder after dividing by zero { printf("Even number"); } else { printf("Odd number"); } return 0; }