Main.cc: In function 'int main()': Main.cc:7:28: error: expected primary-expression before '||' token if(year%4==0&&year%100!=0)||(year%400==0) ^