This commit is contained in:
2023-10-03 12:50:05 +01:00
parent cd1d50183b
commit 0fe9a5ef19
5 changed files with 86 additions and 7 deletions

14
C8/ex3.c Normal file
View File

@@ -0,0 +1,14 @@
#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;
}