Question: JAVA Create a Coffee Shop application that uses a while loop to build a customer order. The Coffee Shops sells coffee ($3.25), espresso ($4.25), and

JAVA

Create a Coffee Shop application that uses a while loop to build a customer order. The Coffee Shops sells coffee ($3.25), espresso ($4.25), and tea ($2.75). The coffee selection presents the customer with the choices of iced (no charge), cream (50 cents), and sugar (50 cents). The espresso selection presents the customer with choice of caramel (no charge) and chocolate (no charge) with one shot (no charge) or two shots ($1.25) of espresso. Once the customer is done, he or she will receive a bill of the total price. After each selection, the customer will have the choice of returning to the main menu for additional purchases. Use nested loops to handle customers' submenu selections.

Create an application entitled School.java. The class will prompt the user with the following options: load student list, find student, and exit. The load student list will call the StudentFileReader class provided and will read the student.txt provided. To run the StudentFileReader, you will need to provide the path to the student.txt. The find student option will search the list looking for the student based on a user input student ID. The loop will need to exit as soon as the student ID is found. The student name will be printed to the console. The School.java application will continue to accept user inputs until the user selects the exit option.

Create a Task.java class that has the following fields: ID, title, time, and price. Than create a TaskCreator application that uses a while loop to add new tasks. When the user has finished creating tasks, allow them to select an option to display all tasks.

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!