主要是各块功能分好,解题就很简单了,一个一个功能做 #include<cstdio> #include<iostream> #include<string> using namespace std; int daytable[2][13]={ {0,31,28,31,30,31,30,31,31,30,31,30,31}, //平年 {0,31,29,31,30,31,30,31,31,30,31,30,31} //闰年 }; string months[13]={" ","January","February","March...