Question: 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

 java Assume that you are a chef in a restaurant. You

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

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!