Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Display the welcome message (Student ID, Student Name) 2. Coffee base price $3.80 3. Show the Add-in Menu with caf title(name) using a loop structure
Display the welcome message (Student ID, Student Name)
2. Coffee base price $3.80
3. Show the Add-in Menu with caf title(name) using a loop structure unless a sentinel value is selected.
4. Save selected add-in item ID in an array and add the items price to the total price using selection structure
5. Error handling should take care of wrong choices/items which are not in the list.
6. Display the docket
a. Caf name and address
b. Coffee price
c. Selected add-in item name and price using loop
d. Total amount due
7. Exit Message
using java
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started