计算二月天数

if((year%4==0&&year%100!=0)||year%400==0)   {   printf("%d is a yunnian,and the datesum is 29 days!\n",year);   }  else printf("%d is not a yunnian,and the datesum is 28 days!\n",year); }

原文地址:https://www.cnblogs.com/xingqiba/p/2974735.html