热心的同学们帮我看看这代码哪儿错了,老师提示错误
#include <stdio.h>
int main()
{
int year = 2014; //今年是2014年
//补全一下代码
if((year % 4 == 0 &&year%100 !== 0)||year %100 == 0)
{
printf("%s\n","今年是闰年");
}
else
{
printf("%s\n","今年是平年");
}
return 0;
}
/249/5199/D689/hello.c: In function 'main':
/249/5199/D689/hello.c:6:34: error: expected expression before '=' token
if((year % 4 == 0 &&year%100 !== 0)||year %100 == 0)