title: How to select options based on character user input stored in an array in C?
body: <p>I may have worded that strange, but if you need clarification I can provide it. I'm a complete noob to coding and am learning to use C language.</p>
  
  <p>I have printed out a menu of options for the user to select. The user input is read and stored into a character array. I then printed out the string back to the user. So far everything works to this point.</p>
  
  <p>My issue is selecting an option based on this character input. 
  I tried using strcmp inside if-else statements but never get the correct output.</p>
  
  <p>Can someone point me into the right direction?</p>