Main.cc: In function ‘int main()’: Main.cc:11:34: error: lvalue required as left operand of assignment if(9*n=1000*d+100*c+10*b+a){ ^