#include<stdio.h>main(){ char a[15][20]={"January","February","March","April","May","June","July","August","September","October","November","December"}; int x; while(x!=0) { scanf("%d",&x); if(x<0||x>12) printf("error\n"); printf("%s\n",a[x-1]); } }
2 回答
- 2 回答
- 0 关注
- 1622 浏览
添加回答
举报
0/150
提交
取消