Create a program vacationbooker that books hotels for


Please help me to solve this assignment by Java

Create a program VacationBooker that books hotels for Hawaiian vacations.

The program must do the following: -

Prompt for the name of the island. -

Prompt for the number of nights.

Use a do-while statement to validate the number of nights. It must be greater than zero and not greater than 30.

- Use a switch statement to determine the hotel for that island and the price per night. You must provide a default case for an unknown island

. - Display the vacation info, including the island, hotel, number of nights, price per night, and total.

- NOTE that there is a 10% discount for 7 or more nights

. - Use a do-while loop to keep booking vacations as long as the user enters 1, any other digit to quit.

- Use the command prompt window (terminal) for input and output

. - You must follow the Programming Guidelines handout. All code must be commented and correctly indented. Output MUST be clearly labelled.

- Do NOT use NetBeans, Eclipse or IntelliJ for any lab or assignment. Do NOT create projects or use package statements. - Use this data for your program:

Island Hotel Price/Night

Hawaii Hilton Waikaloa Village 159.00

Kauai Grand Hyatt Kauai Resort and Spa 179.00

Maui Montage Kapalua Bay 199.00

Molokai Hotel Molokai 189.00

Oahu Hilton Hawaiian Village Waikiki Beach Resort 149.00

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Create a program vacationbooker that books hotels for
Reference No:- TGS02889552

Expected delivery within 24 Hours