title: How to: Java multiple menus with quit option?
body: <p>Ok, so my program has multiple menus.
  For instance:
  Hello!
  would you like:<br>
  A Fries<br>
  B Hashbrowns<br>
  Q Nothing, close program  </p>
  
  <p>would you like:<br>
  A Ketchup<br>
  b Mustard<br>
  c none</p>
  
  <p>etc etc.</p>
  
  <p>SO, I'd like menu 1 to repeat after customer has chosen condiment. 
  Additionally, I do NOT want the customer to be asked if they want a condiment if they've chosen Q to quit the program.<br>
  How do I make the program stop reading further menus if the customer wants to quit?</p>
  
  <pre><code>    if(menuChoice == 'A')
      {
          foodChoice= FRIES;
      }                       
      else
      {
          foodChoice= HASHBROWNS;
      }
  </code></pre>
  
  <p>I have a method for validations elsewhere<br>
  But basically you got a b or Q, right now A picks fries and anything else picks hashbrowns then continues with the menus.<br>
  I just don't know how to repeat this menu at the end.<br>
  Do I put the entire thing in a while loop?</p>