#include <Windows.h>
#include <stdio.h>
void RN(int i)
{
if (i % 4 == 0 && i % 100 != 0 || i % 400 == 0)
printf("是闰年");
else
printf("不是闰年");
}
int main()
{
int a;
scanf_s("%d ", &a);
RN(a);
system("pause");
return 0;
}
#include <Windows.h>
#include <stdio.h>
void RN(int i)
{
if (i % 4 == 0 && i % 100 != 0 || i % 400 == 0)
printf("是闰年");
else
printf("不是闰年");
}
int main()
{
int a;
scanf_s("%d ", &a);
RN(a);
system("pause");
return 0;
}