Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void mobileGamesQuizMenu()
- {
- System.out.println("Welcome to the Mobile Games Quiz!");
- System.out.println("What difficultly level would you like to attempt?");
- System.out.println("1: Easy");
- System.out.println("2: Medium");
- System.out.println("3: Hard");
- System.out.println("4: Back to Mobile Games Menu\t\t5: Back to Topic List");
- System.out.println("If a non-valid choice is entered you will be returned to this menu.");
- System.out.print("What would you like to do? ");
- menuChoice = keyboard.nextInt();
- System.out.println("");
- switch (menuChoice)
- {
- case 1:
- mobileGamesQuizEasy();
- break;
- case 2:
- mobileGamesQuizMedium();
- break;
- case 3:
- mobileGamesQuizHard();
- break;
- case 4:
- mobileGamesMenu();
- break;
- case 5:
- menuTopic();
- break;
- default:
- mobileGamesQuizMenu();
- }//switch
- }//mobileGamesQuizMenu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement