判断润年

#include<stdio.h>
void main()
{
    int a;
    while(scanf("%d",&a)==1)
    {    
        if((a%4==0 && a%100!=0 )||(a%100==0&&a%400==0))
            printf("yes
");
        else
            printf("no
");
    }
}
选择了远方,便只顾风雨兼程
原文地址:https://www.cnblogs.com/ly-rabbit-wust/p/5575285.html