#define _CRT_SECURE_NO_WARNINGS 1标签:判断,return,SECURE,闰年,nian,printf,CRT From: https://blog.51cto.com/u_15766378/5787593
#include<stdio.h>
int main()
{
int nian;
scanf("%d", &nian);
if (nian % 4 == 0 && nian % 100 != 0 || nian % 400 == 0)
printf("是闰年%d\n", nian);
else
printf("不是闰年%d\n", nian);
return 0;
}