Question: Java You make and serve coffee to customers at a coffee shop. After serving many customers, you determine that you can make and serve 12

Java

Java You make and serve coffee to customers at a coffee shop.

You make and serve coffee to customers at a coffee shop. After serving many customers, you determine that you can make and serve 12 coffees in an hour or 8 lattes in an hour. A customer orders some of each and your manager wants to know how long it will take to serve that customer. Write a program to determine how long it will take. The input data is stored in three arrays. It's formatted like this. Use this data when you run the program. You should hardcode it into the program. Customer Name Coffees Lattes Andrew 12 Barbara Carla Dan Specific details: 1. Print the arrays. After printing the input data, print the number of hours required for the order. Line up the items as much as you can. A sample line of output should be something like Andrew 12 16 (This means: Andrew ordered 12 coffees, 16 lattes, and it will take 3 hours.) 2. Title all columns. 3. Make sure your program has adequate comments explaining it. 4. As always, you should have two classes. 5. Academic honesty is important. The normal class academic honesty policy applies

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!