title: C++ if, else if and else statement problems
body: <p>In a short and basic testing C++ program I made the if, else if and else statement do not appear to be working. Regardless of what answer you input the if, else if and else statement just auto jumps straight to the else statement and I don't understand why. I have tried many different types of methods to remove this error but none appear to work</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  #include &lt;cstdlib&gt;
  
  using namespace std;
  
  int main()
  {
  string name;
  string feeling;
  int age;
  
  //IMPORTANT MESSAGE
  cout &lt;&lt; "THIS PROGRAM IS CAPS/SLANG SENSITIVE!" &lt;&lt; endl &lt;&lt; endl;
  //IMPORTANT MESSAGE
  
  cout &lt;&lt; "Hello User, please enter name: ";
  cin &gt;&gt; name;
  cout &lt;&lt; endl &lt;&lt; endl;
  
  cout &lt;&lt; "Now please enter your age: ";
  cin &gt;&gt; age;
  cout &lt;&lt; endl &lt;&lt; endl;
  
  cout &lt;&lt; "Hello " &lt;&lt; name &lt;&lt; ", you are " &lt;&lt; age &lt;&lt; " years old." &lt;&lt; endl &lt;&lt; endl;
  system("pause");
  cout &lt;&lt; endl;
  
  cout &lt;&lt; "How are you today " &lt;&lt; name &lt;&lt; "?: ";
  cin &gt;&gt; feeling;
  cout &lt;&lt; endl &lt;&lt; endl;
  
  if (feeling == "Good")
  cout &lt;&lt; "That's great!";
  
  else if (feeling == "Okay")
  cout &lt;&lt; "Fair enough.";
  
  else;
  cout &lt;&lt; "Well to be fair I don't care so good day :)." &lt;&lt; endl &lt;&lt; endl;
  
  cin.get();
  return 0;
  </code></pre>
  
  <p>}</p>