This repository has been archived on 2023-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
VSMechatronics/C8/ex3.c
2023-10-03 12:50:05 +01:00

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;
}