Main.cc: In function 'int main()': Main.cc:6:11: error: lvalue required as left operand of assignment if(n%2=1) ^