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