Create a program vacationbooker that books hotels

Assignment Help JAVA Programming
Reference no: EM132096095

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

Reference no: EM132096095

Questions Cloud

Difference between a parameter and a statistic : What is the difference between a parameter and a statistic? Describe an example. Finally, there are "adjustments" that statisticians
Write a stub for each member function of class book : Write a stub for each member function of class Book. You can this either in Book.h or in a separate implementation file (Book.cpp).
Difference between the mean and the median : What is the difference between the mean and the median and which would you report if you had a skewed set of data to describe the central tendency?
Properties of moment generating functions : a. Use the properties of moment generating functions to show that aX+b ~ N(aµ +b, as).
Create a program vacationbooker that books hotels : Create a program VacationBooker that books hotels for Hawaiian vacations.
Math course and writing course independent : Are the events students enrolled in math course and writing course independent?
Multi-dimensional array identifiers are normally defined : Array elements are normally stored in contiguous, side-by-side, memory locations with the first index in all arrays being referenced by index 0.
Employees of the air transportation? industry : Assuming the equation remains valid in the? future, in what year will there be 440,000 employees of the air transportation? industry?
Write the equation of the least squares line : Find the slope, b, and the intercept, a, for the least squares line. Write the equation of the least squares line.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd