move exercises, lecture examples, labs into subfolders
This commit is contained in:
14
Exercises/C8/ex3.c
Normal file
14
Exercises/C8/ex3.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user