title: break statement doesn't work in a loop
body: <p>I saw a tutorial that explaining how to use the "break" statement in a loop
  but every time i'm trying to use it i'm getting a compilation error saying:</p>
  
  <blockquote>
    <p>"break statement not within loop or switch<br>
     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<code>break;"</code></p>
  </blockquote>
  
  <p>This is my code:</p>
  
  <pre><code>if (finalFirstChar &gt; 6 || finalFirstChar &lt; 1)
  {
      printf("You didn't entered a proper number! \n");
      break;
  }
  </code></pre>