title: How can I put the sign of OR (`||`) into a while loop?
body: <p>In C++, why can I not put the sign of OR (<code>||</code>) in a while loop like this?</p>
  
  <pre><code>int weight_of_Limak,weight_of_Bob,sum=0;
  cin&gt;&gt;weight_of_Limak&gt;&gt;weight_of_Bob;
  
  while((weight_of_Limak&lt;weight_of_Bob) || (weight_of_Limak!=weight_of_Bob))
  {
      sum++;
      weight_of_Limak*=3;
      weight_of_Bob*=2;
  
  }
  cout&lt;&lt;sum;
  </code></pre>