_执迷不悔
2015-02-24 17:20
#include <stdio.h>
int main()
{
int year = 2014; //今年是2014年
//补全一下代码
if(year%4==0&&year%100!=0||year%400==0)
{
printf("%s\n","今年是闰年");
}
else
{
printf("%s\n","今年是平年");
}
return 0;
}
printf("%s\n","今年是平年");//最后一个;应该是英文的; 注意一下中英文字符的书写C语言入门
928163 学习 · 21543 问题
相似问题