Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles Of Database Systems With Internet And Java Applications

Authors: Greg Riccardi

1st Edition

020161247X, 978-0201612479

More Books

Students also viewed these Databases questions

Question

3. Identify challenges to good listening and their remedies

Answered: 1 week ago

Question

4. Identify ethical factors in the listening process

Answered: 1 week ago