#include<stdio.h> void main() { int a; printf("please input the data of years"); scanf("%d",&a); if(a%400==0||(a%4==0&&a%100!=0)) printf("\n闰年:%d",a); }