Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void runMenu() throws IOException {
- int choice = -1;
- printHeader();
- while (choice != 0) {
- printMenu();
- choice = getInput();
- performAction(choice);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement