View Code of Problem 28

#include<stdio.h>
int main()
{    int n;
     scanf("%d",&n);
     if(n%400==0||(n%4==0&&n%100!=0))
		 printf("是闰年");
	 else printf("不是");
	 return 0; 	
}

Double click to view unformatted code.


Back to problem 28