读入一个年份和月份,打印出该月有多少天(考虑闰年) ,用 switch 语句编程。#include main()int year, month;printf(“Input year,month: “);scanf(“%d, %d“, /*输入相应的年和月*/switch (month)case 1:case 3:case 5:case 7:case 8:case 10:case 12:printf(“31 daysn“);break;case 2:if(year % 4= 0 /*闰年的 2 月有 29 天 */elseprintf(“28 daysn“); /*平年的 2 月有 28 天 */break;case 4:case 6:case 9:case 11:printf(“30 daysn“);break;default:printf(“Input error!n“);