andy6804tw
10/12/2016 - 2:11 AM

http://e-tutor.itsa.org.tw/e-Tutor/mod/programming/view.php?id=30754

#include<stdio.h>    
int main(){       
    int n;  
    scanf("%d",&n);  
    if(n>=3&&n<=5)printf("Spring\n");  
    else if(n>=6&&n<=8)printf("Summer\n");  
    else if(n>=9&&n<=11)printf("Autumn\n");  
    else printf("Winter\n");  
}