打印闰年

成为闰年条件:能被4整除,不能被100整除;或者,能被400整除。

所以,第一条排除普通年,第二条判断是不是闰年。

原文地址:https://www.cnblogs.com/miniSkytrue/p/12110749.html