You are here:   HomeC Programming (Pratical)Write a C program to is char a letter.
by Dinesh Thakur Category: C Programming (Pratical)

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

Subscribe To Free Daily Newsletter!

Get Free News Updates Delivered Directly To Your Inbox
About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to contact us.

What's New and Popular

Search Content

Advance Courses

Basic Courses

Advertise with Us