title: Dual validation with a do-while loop and if-else statement
body: <p>I need to figure out how to validate 2 conditions. </p>
  
  <ol>
  <li>Check if a previous number has been played.</li>
  <li>Check if the number is between 1 and 9. </li>
  </ol>
  
  <p>In either case, it should loop back to the beginning. With the first situation, it shouldn't run till the user enters a number that hasnt been played.</p>
  
  <pre><code>do
  {
    cout &lt;&lt; "Interesting move, What is your next choice?: ";
    cin &gt;&gt; play;
    Pused[1] = play;
  
    if(play != Pused[0] &amp;&amp; play != cantuse[0] &amp;&amp; play != cantuse[1] )
    {
      switch(play)
      {
        default:
          cout &lt;&lt; "Your choice is incorrect\n\n";
          break;
      }   
    }
  }while(play != 1 &amp;&amp; play != 2 &amp;&amp; play != 3 &amp;&amp; play != 4
      &amp;&amp; play != 5 &amp;&amp; play != 6 &amp;&amp; play != 7 &amp;&amp; play != 8 &amp;&amp; play != 9);
  
  Dis_board(board);
  </code></pre>