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