15 lines
196 B
C
15 lines
196 B
C
|
#include <stdio.h>
|
||
|
|
||
|
int main() {
|
||
|
int input;
|
||
|
|
||
|
printf("Enter an integer: ");
|
||
|
scanf("%d", &input);
|
||
|
|
||
|
if (!(input >= 0 && input <= 10)) {
|
||
|
printf("The number is not in range\n");
|
||
|
}
|
||
|
|
||
|
return 0;
|
||
|
}
|