title: C:: how: run a error check that a string is too long in a loop
body: <p>Struggling with some homework and for the life of me, I cannot figure this out. 
  pseudo logic would be</p>
  
  <pre><code> printf("Enter a string\n");
  </code></pre>
  
  <p>then run loop to check if the string is longer than 10 chars
  if not re-prompt to enter a string less than 10 chars.  </p>