Advertisement
FedchenkoIhor

runMenu

Jul 7th, 2016
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.23 KB | None | 0 0
  1. private void runMenu() throws IOException {
  2.         int choice = -1;
  3.         printHeader();
  4.         while (choice != 0) {
  5.             printMenu();
  6.             choice = getInput();
  7.             performAction(choice);
  8.         }
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement