diff --git a/C/17_cProgramming.c b/C/17_cProgramming.c new file mode 100644 index 0000000..7a12830 --- /dev/null +++ b/C/17_cProgramming.c @@ -0,0 +1,21 @@ +#include +#include + +int main() +{ + int age; + + printf("How old are you? \n"); + scanf("%d", &age); + + if(age >= 18){ + printf("You may enter this website!"); + } + + if(age < 18){ + printf("Nothing to see here!"); + } + + return 0; +} +