Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

java Assume that you are a chef in a restaurant. You are going to serve a very hot plate to a customer. If it is

image text in transcribed

java

Assume that you are a chef in a restaurant. You are going to serve a very hot plate to a customer. If it is too hot or too cold, the customer may complain about it. Write a program that calculates the cooling time of a plate. Also, get the type of this food from the user as well (Meat, Vegetable, Bakery Products or Hot Drink), according to this type, cooling time will be different According to the given inputs, calculate and display the recommended serving time. You should come up with default cooling times from each type of food. If the customer orders a meat dish, it is going to cool down %3per minite. You need to serve it when it is %50 cooled down. If the customer orders a vegetable dish, it is going to cool down %4 per minite. You need to serve it when it is %60 cooled down. If the customer orders a bakery product, it is going to cool down %5 per minite. You need to serve it when it is %70 cooled down. If the customer orders a hot drink, serve it immediately

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

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions

Question

9. System creates a large, diverse talent pool.

Answered: 1 week ago