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/Exercises/C8/ex3.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;
}