Question
The Jumpin Jive coffee shop charges $2 for a cup of coffee and offers the add-ins shown in the table below. Create a Java class
The Jumpin Jive coffee shop charges $2 for a cup of coffee and offers the add-ins shown in the table below. Create a Java class that will allow the customer to enter add-ins until a sentinel of * is entered. After each item is entered, either display its price or the message, Sorry we do not offer that. After the all add-ins have been entered, add sales tax of 6% to the total price of the coffee and add-ins. Display the total price for the order. You must use parallel arrays to store the add-ins data.
Product | Price |
Whipped cream | 0.89 |
Cinnamon | 0.25 |
Chocolate sauce | 0.59 |
Amarretto | 1.50 |
Irish whiskey | 2.00 |
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