#include <stdio.h>
int main() {
int n;
scanf("%d",&n);
if(n>=1 && n<=12)
{
if(n>=3 && n<=5)
printf("봄");
else if(n>=6 && n<=8)
printf("여름");
else if(n>=9 && n<=11)
printf("가을");
else
printf("겨울");
}
else
printf("1~12의 숫자를 입력하세요.");
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: