This commit is contained in:
암냥 2026-04-08 16:02:20 +09:00
commit d42448a9d0
No known key found for this signature in database
13 changed files with 187 additions and 0 deletions

14
layer7/main.c Normal file
View file

@ -0,0 +1,14 @@
#include <stdio.h>
int main() {
int age;
scanf("%d", &age);
if (age < 18) {
printf("미성년자");
} else if (age < 65) {
printf("성인");
} else {
printf("노인");
}
return 0;
}