Question
Making a Java program in Github: Create a Java program that will help a coffee shop function using their menu. An employee should be able
Making a Java program in Github:
Create a Java program that will help a coffee shop function using their menu. An employee should be able to use the program to enter numbers 1-10 (s and L for small and large) and the numbers correspond to menu items and price. the code also needs to calculate total daily sales.
The menu Would be as follows:Drinks: Espresso (1s) -$3.00 Espresso (1L)- $3.50 / Latte (2s)- $3.50 Latte (2L) Tea(3s)- $2.00 Tea(3L)-$2.50 / Frappuccino(4s)-$4.00 Frappuccino(4L)-$4.75 / Hot chocolate(5s)- $2.25 Hot chocolate (5L) 2.75 Food: ham Panini (6)($7.00) /Muffin (7)($3.00)/ chicken Panini (8) ($7.00) / cake pop(9) ($1.75) / bagel (10) $3.50
The code must include: Arrays, Objects and methods, interfaces, Loops and switch statements
Enter Menu options -> provide total for customer
Please show code and output for 2 customers
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