问题出在了哪里
if((year%4 == 0 && year%100 != 0)|| year%400==0)
{
printf("%s\n","今年是闰年");
}
else
{
printf("%s\n","今年是平年");
}
if((year%4 == 0 && year%100 != 0)|| year%400==0)
{
printf("%s\n","今年是闰年");
}
else
{
printf("%s\n","今年是平年");
}
2015-06-10
举报