编写程序判断某年是否为闰年.闰年的条件是能被4整除但不能被100整除;或者能被400整除.

如题所述

第1个回答  2020-03-09
(year mod 4=0) and (year mod 100 >0 )|| year mod 400=0
相似回答