title: How to prompt the user to enter a integer within a certain amount of numbers
body: <p>I was trying to figure out what statement to use to get the user to enter a number between 1 and 10. </p>
  
  <p>here is what i have so far.</p>
  
  <pre><code>int a;
  printf("Enter a number between 1 and 10: \n);
  scanf("%d", &amp;a);
  </code></pre>