提交时间:2022-08-31 16:14:04
运行 ID: 59362
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; if(n==1){ cout<<"January"; } if(n==2){ cout<<"February"; } if(n==3){ cout<<"March"; } if(n==4){ cout<<"April"; } if(n==5){ cout<<"May"; } if(n==6){ cout<<"June"; } if(n==7){ cout<<"July"; } if(n==8){ cout<<"August"; } if(n==9){ cout<<"September"; } if(n==10){ cout<<"October"; } if(n==11){ cout<<"November"; } if(n==12){ cout<<"December"; } else{ cout<<"error"; } return 0; }