#include<stdio.h>
#include<conio.h>
#include<math.h>
void main()
{
int n;
printf("\n\nEnter the value of n : ");
scanf("%d",&n);
if(n%2==0)
printf("\nThis is an even number.");
else
printf("\nThis is an odd number.");
getch();
}
#include<conio.h>
#include<math.h>
void main()
{
int n;
printf("\n\nEnter the value of n : ");
scanf("%d",&n);
if(n%2==0)
printf("\nThis is an even number.");
else
printf("\nThis is an odd number.");
getch();
}