#include<stdio.h>
#include<conio.h>
main()
{
int n;
clrscr();
printf("Enter number...");
scanf("%d",&n);
if(n%2==0)
printf("Number is even...");
else
printf("Number is odd....");
getch();
}
#include<stdio.h>
#include<conio.h>
main()
{
int n;
clrscr();
printf("Enter number...");
scanf("%d",&n);
if(n%2==0)
printf("Number is even...");
else
printf("Number is odd....");
getch();
}