title: While loop keeps printing out and not reading the next line
body: <p>This is my first simple program. It keeps printing out <code>Guess what it is.</code> non-stop and doesn't even ask for user input. (the next line of code.)
  What is my mistake?</p>
  
  <pre><code> #include &lt;iostream&gt;
   #include &lt;string&gt;
   using namespace std;
  
  int main()
  {
      string userName;
      cout &lt;&lt; "Hello there.\n";
      cout &lt;&lt; "My name is TARS. \n";
      cout &lt;&lt; "What is your name? \n";
      getline(std::cin, userName);
      cout &lt;&lt; userName &lt;&lt; ", let's play a game.\n";
      int secretNum;
      secretNum = rand() % 20 + 1;
      cout &lt;&lt; "I'm thinking of a number between 1-20.\n";
      int Guess;
      bool conti = true;
  
      while (conti)
  
          cout &lt;&lt; "Guess what it is. \n";
          cin &gt;&gt; Guess;   
  
          if (Guess == secretNum)
          {
              cout &lt;&lt; "You read my mind!";
              conti = false;
          }
          if (Guess &lt; secretNum)
          {
              cout &lt;&lt; "That is too low.";
          }
          if (Guess &gt; secretNum)
          {
              cout &lt;&lt; "That is too high.";
          }
  
      return 0;
  }
  </code></pre>