int fm(char *p){ char m[12][4]={"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"};int i;for(i=0;i<12;i++)if(strcmp(p,m[i])==0)break;return i+1;} void main(){ char mstr[4];int d;cout<<"输入月份:";cin>>mstr;switch...