title: how to add validation mr or mrs before name
body: <p>I'm doing validation to input name using Mr or ms or Mrs before name with <strong>do while</strong> statement. what should I fill in the while section?.</p>
  
  <p>is it using strcmp or something else?</p>
  
  <p>coding example</p>
  
  <pre><code>do{
      printf("Input Customer's Name [must have Mr. or Ms. or Mrs");
      scanf("%[^\n]", &amp;customerName);
  }while(what should i fill here?);
  </code></pre>