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