Question: Using java write the code that will display a menu, Ask the user if s/he would like to know where a Disney character is located.

Using java write the code that will display a menu,

Ask the user if s/he would like to know where a Disney character is located. If the user responds with a Y, ask for the name of the character and use findLocation to find the park location of the character. You should use the characterLocations array. If the user responds with a N, move to option B. B. Request the user to let you know if they would like to view the menu. The user should reply either a Y or N. If answer is Y, proceed to step C. If answer is N, your program should exit, unless you do the bonus in Part IV. C. Display the following list to the user a. Enter 1 for Churro b. Enter 2 for Ice Cream c. D. Ask the user if they would like to order anything from the menu. They should reply either Y or N. If Y, prompt the user to insert item number. If N, move to step H. E. Based on the menu item number the user selects, print a message displaying the name and price of the item. F. Keep track of the total price of the order. G. After taking each order, go to step D. H. When the user is done ordering, the program should ask if the user has an annual pass. Annual pass holders will receive a 15% discount on the entire order. a. If they are annual pass holders, they should be given a discount, otherwise they will pay full price I. Display the total amount due (without tax).

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!