title: How to use two characters to control the flow of a c++ program
body: <p>How do i use two characters (A and B) to control which part of the code is executed when the user enters either of them..? Forexaple when a user Enters A, go to a certain transaction type and ask the user to enter info for that kind of a transaction. If B, execute some other traction type and the user will be asked to enter info for such a transaction.
  I just started learning programming (C++)please..</p>
  
  <p>Thanks</p>