by Dinesh Thakur

This is program that ask user to check whether the given number is odd or even. That number divided by odd number Is odd else it is even. In this program user declare required variables that are use to contain the value. And the control statement also used like if else for checking the manipulated condition. If the given digit division able with odd number then it will be odd else it will be even number.

Problem Statement:
This is the C program where users ask to check the number is odd or even.

  1. Declaring variable.
  2. Using control statement.
  3. Display result on the screen.

Here is C source code for check whether the Given Number is odd or even. The output of this program shown below



void main()
     int a;
     printf ("Enter the No : ");
           printf(" Divisible by 5");
           printf("No is not Divisible by 5");
Output :

C Program Write a Program to Check the Number Odd or Even