Main.cc: In function 'int main()': Main.cc:7:8: error: lvalue required as left operand of assignment if(a/2=1) ^