title: (C++) If - Else if statements for a CommandLine rock paper scissors game
body: <p>I'm fairly new to c++ but have been reading alot of documentation and cant figure out whats going on here. I've used if / else if statements on other things but maybe this is just a brain fart. i don't really know. when i type "1" when it ask's for an input and i press enter and it just goes directly to the Else statement</p>
  
  <hr>
  
  <pre><code>#include &lt;cstdlib&gt;
  #include &lt;iostream&gt;
  #include &lt;sstream&gt;
  #include &lt;string&gt;
  using namespace std;
  
  int main()
  {
  
      char choice;
      int p2 = 2;
      int r1 = 1;
      int s3 = 3;
  
  
      //questions
  
      cout &lt;&lt; "Lets Play Rock Paper Scissors" &lt;&lt;endl;
      cout &lt;&lt; "(Use Letter) Rock (1) - Paper (2) - Scissors (3)" &lt;&lt;endl;
      que:
      cout &lt;&lt; "What is your choice? : ";
      cin &gt;&gt; choice;
  
      if (choice == p1){
          cout &lt;&lt; "You choose Rock" &lt;&lt;endl;}
      else if (choice == p2){
          cout &lt;&lt; "You choose Paper" &lt;&lt;endl;}
      else if (choice == s3){
          cout &lt;&lt; "You choose Scissors" &lt;&lt;endl;}
      else
          goto que;
  
  
      system("PAUSE");
  }
  </code></pre>