年月编程(编程输入年月,输出每个月的天数) 主要判断出该年是否为闰年即可,C语言代码如下include ltstdioh int main int y, mscanfquot%d %dquot, y, mint month13 = 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31if;incl...
年月编程(编程输入年和月份求该月多少天) include ltstdioh include ltstringh define IsLeapYeary y%y%100?4400==0char *MonthName12=quotJanuaryquot,quotFebruaryquot,quotMarchquot,quotAprilquot,qu...