#include<stdio.h>
#include<conio.h>
void main()
{
int n;
clrscr();
printf("Enter any number = ");
scanf("%d",&n);
if(n%2==0)
printf("%d is even number",n);
else
printf("%d is odd number",n);
getch();
}
///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........