Main.cc: In function ‘int main()’: Main.cc:8:16: error: lvalue required as left operand of assignment if(i%2=1){ ^