求大佬指点一下,问题出在哪儿
#include <stdio.h>
int main()
{
int year=2014;
if(year%4==0&&year%100!=1||year%400==0)
{
printf("%s\n","是闰年”);
}
else
{
printf("%s\n","是平年”);
}
return 0;
}
#include <stdio.h>
int main()
{
int year=2014;
if(year%4==0&&year%100!=1||year%400==0)
{
printf("%s\n","是闰年”);
}
else
{
printf("%s\n","是平年”);
}
return 0;
}
2019-07-19
举报