Main.cc: In function 'int main()': Main.cc:11:13: error: lvalue required as left operand of assignment if(i%2=0){ ^