c++问题:输入年月,输出该月有多少天(用switch实现)如:输入:2000.3输出...答:{31,28,31,30,31,30,31,31,30,31,30,31}//闰年中每一月的天数 };int year,month;//年份 月份 cout<<"输入年份和月份:";cin>>year>>month;leap_year=(year%4==0) || (year%400==0 && year%100!=0);//判断是不是闰年 switch(leap_year){ case 1:cout<<"有"<<Y[leap_...