Question: Instructions from your teacher: a console menu is basically a text menu. after it is outputted to the console a user input is captured. then

Instructions from your teacher: a console menu is basically a text menu. after it is outputted to the console a user input is captured. then the program decides what to do according to the user input (what the user selected). our console menu has 3 items called "options" System.out.println("---------------"); System.out.println("select an option:"); System.out.println("1) option 1"); System.out.println("2) option 2"); System.out.println("3) option 3"); System.out.println("---------------"); which outputs: --------------- select an option: 1) option 1 2) option 2 3) option 3 --------------- Then using scanner, user will enter 1, 2 or 3 if choice is 1 print: **user selected 1** if choice is 2 print: **user selected 2** if choice is 3 print: **user selected 3**

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!