title: While loop with scan in C
body: <p>So my question is the following.</p>
  
  <pre><code>int n=0;
  while(n&lt;=0)
      scanf("%d",&amp;n);
  </code></pre>
  
  <p>This code enters in an infinite loop, and I don't have a clue why. When the user inputs a number > 0, the loop was supposed to stop.</p>
  
  <p>And thanks:)</p>