Main.cc: In function ‘int main()’: Main.cc:10:26: error: lvalue required as left operand of assignment if(i*num1=a&&i*num2==b) ^