如何判断闰年

代码如下:

if(x%400==0||x%100!=0&&x%4==0)

  

无聊就学习 反正没事干
原文地址:https://www.cnblogs.com/miao-xixixi/p/13724990.html