C Program To Check Odd - Even Number

Hello Guys,

Today I am going to tell you How To Check Odd Even Number In C Program.  By using this program you Check No Odd or Even In C Program


C Program To Check Odd - Even Number
C Program To Check Odd - Even Number

#include<stdio.h>
#include<conio.h>
void main()
{
int number;
printf("Enter The Number To Check Number Is Even Or Odd=");
scanf("%d",&number);
if(number%2==0)
{
printf("Number Is Even");
}
else
{
printf("Number Is Odd");
}
getch();
clrscr();
}

Comments