#include"stdio.h"
main()
{
int i;
scanf("%d",&i);
if(i%4==0&&i%100!=0||i%400==0)//四年一闰,百年不闰,四百年一闰
printf("%d是闰年",i);
else
printf("%d不是闰年",i);
}
05-11
4506
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-22
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
06-22
10-19
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交