What Season Is It?
題目說明
輸入一月份 範圍是1-12
若輸入在範圍外輸出wrong!
並結束程式(System.exit(0);
)
若在範圍內則輸出是什麼季節
12-2月:Winter
3-5月:Spring
6-8月:Summer
9-11月:Fall
輸入限制: 1<=輸入值<=12
輸入
月份
輸出
季節
sample input1
3
sample output1
Spring
sample input2
15
sample output2
wrong!
Comments