12 lines
281 B
C

#include <stdio.h>
int main(void)
{
int year;
printf("Please input year count:\n");
scanf("%d", &year);
if ((year%4==0 && year%100!=0)||(year%400==0)) printf("This year is ");
else printf("This year is not ");
printf("leap.");
getchar();
return 0;
}