#include
int main(void)
{
int number = 0;
printf("\nEnter an integer between 1 and 10: ");
scanf("%d",&number);
if (number > 5)
printf("You entered %d which is greater than 5\n", number);
if (number < 6)
printf("You entered %d which is less than 6\n", number);
return 0;
}
Enter an integer between 1 and 10: 5
You entered 5 which is less than 6