title: Numbers and letters validation in C
body: <p>I am new at programming and I faced up with validation. I try to write a program where the program gets the user’s <code>Name</code> and <code>Age</code> as inputs. And I need to check if the name contains only letters (it can have spaces) and if age is only from numbers.
  I tried to use the functions <code>IsAlpha()</code> and <code>IsDigit()</code> but I think it’s not the right way in my program because it only checks the first character.
  For example, if the user inputs “Jane123 or J0nas” an error appears and the same with numbers.</p>
  <p>I think I should use something with while of if. Any suggestions? Thanks.</p>