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