标签:ar on ad amp line br it c read
int b = int.Parse(Console.ReadLine());
if (b % 4 == 0 && b % 100 != 0)
{
Console.WriteLine("是闰年");
}
else if (b % 400 == 0)
{
Console.WriteLine("是闰年");
}
else
Console.WriteLine("不是闰年");
Console.ReadLine();
标签:ar on ad amp line br it c read
原文地址:http://www.cnblogs.com/yangyue/p/4161848.html