Main.cc: In function 'int main()':
Main.cc:6:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (year%400==0 || year%4==0 && year%100!=0){
^
Main.cc:9:12: error: expected '(' before '{' token
else if{
^