title: C programming - validating int input so it isn't a character
body: <p>Need to write a program to take input from a user in the form of an int and validate that what they entered is not a char from a-z.</p>
  
  <p>Is there another way to do this other than:</p>
  
  <blockquote>
    <p>if((num != 'a') &amp;&amp; (num != 'b') &amp;&amp; (num != 'c') &amp;&amp; (num != 'd') etc.....)
           printf("You entered %d", num);</p>
  </blockquote>