title: error: lvalue required as left operand of assignment
body: <p>I'm trying to do some calculation program using C what am I getting error is </p>
  
  <p><code>error: lvalue required as left operand of assignment</code> </p>
  
  <p>This error cause from define a value on the header and then I assign using <code>=</code> in the main body.</p>
  
  <p>If I put that value which it is in the header instead put them in the <code>int</code> or <code>double</code> then it will be fine, but I don't want them to be there.</p>
  
  <p>please tell me if needed more information about what I'm trying to say.</p>
  
  <p>Thanks</p>
  
  <hr>
  
  <p>here is what I put on the define <code>#define price 50</code></p>
  
  <p>and in the body where I'm getting error <code>price = price * 2 + total</code></p>