title: C program, lvalue required as left operand of assignment
body: <p>I write a program but while assigning the value after  making a condition it shows a error called "lvaluered as left operand of assignment". How to solve this error?</p>
  
  <p>My code is given below:</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  int main()
  {
  int calls;
  float bills;
  
  printf("Enter the number of calls:\n");
  scanf("%d",&amp;calls);
  
  calls&lt;=100? bills=250:bills=250+(1.25*(calls-100));
  
  printf("Bills: %f Rs.",bills);
  
  return 0;
  }
  </code></pre>