Java code The Seattle Party Cruise Company owns a fleet of boats that they use to host parties on Lake Washington and Lake Union. A customer books a boat for an evening event, and the company provides the sailing and serving crew and all the necessary food and drink for the event. The customer tells the company how many people will be attending, and the company must calculate how much food and drink to purchase and bring on board for the evening. The problem is that the company's employees have been calculating badly, sometimes running out before the end of the evening, and sometimes ending up with a lot left over. So, you have been hired by the Seattle Party Cruise Company to write a program to help employees properly stock their cruise boats for any given event. You need to write a command-line program that asks the employee how many adults, teenagers, and children will be attending the event. The program should then calculate how many soft drinks, glasses of champagne, slices of pizza, and pieces of cake are needed for the event. You must determine on your own what you think a reasonable amount of each of these should be for each type of guest.
Java code
The Seattle Party Cruise Company owns a fleet of boats that they use to host parties on Lake Washington and Lake Union. A customer books a boat for an evening event, and the company provides the sailing and serving crew and all the necessary food and drink for the event. The customer tells the company how many people will be attending, and the company must calculate how much food and drink to purchase and bring on board for the evening. The problem is that the company's employees have been calculating badly, sometimes running out before the end of the evening, and sometimes ending up with a lot left over. So, you have been hired by the Seattle Party Cruise Company to write a program to help employees properly stock their cruise boats for any given event.
You need to write a command-line program that asks the employee how many adults, teenagers, and children will be attending the event. The program should then calculate how many soft drinks, glasses of champagne, slices of pizza, and pieces of cake are needed for the event. You must determine on your own what you think a reasonable amount of each of these should be for each type of guest.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 1 images