#include#include#includeintgMonthDays[13]{0312831303130313130313031};定义全局数组函数声明intLeapYearintn;判断闰年与否intCountYearDaysintyear;计算从公元11到某年1231一共多少天intCountMonthDaysintmonth;计算某年一月一日到12月31日的天数voidMenuvoid;