Main.cc: In function 'int main()': Main.cc:8:14: error: lvalue required as left operand of assignment if(y%x=0) ^