Main.cc: In function 'int main()': Main.cc:9:9: error: expected primary-expression before '=' token if( a%==0 && a%100!=0 && a%400==0){ ^