#include <stdio.h>
int main()
{
int num;
printf("enter the integer number:\n");
scanf("%d",&num);
if(num%2==0)
{
printf("%d is even",num);
}
else
{
printf("%d is odd",num);
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: