提交时间:2019-09-17 20:47:10

运行 ID: 130

#include<iostream> int main(){ int a; scanf("%d",a); switch(a){ case 1:printf("January"); case 2:printf("February"); case 3:printf("March"); case 4:printf("April"); case 5:printf("May"); case 6:printf("June"); case 7:printf("July"); case 8:printf("August"); case 9:printf("September"); case 10:printf("Octuber"); case 11:printf("November"); case 12:printf("December"); default:printf("error"); } return 0; }