Question: java (fast answer please) 1- 2- 3- (16 points) Assume that you are a chef in a restaurant. You are going to serve a very

java (fast answer please)
1-
java (fast answer please) 1- 2- 3- (16 points) Assume that you
2-
are a chef in a restaurant. You are going to serve a
3-
very hot plate to a customer. If it is too hot or

(16 points) 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 of the customer orders a meat dish, it is going to cool down 963per minite You need to serve it when it is 950 cooled down. If the customer orders a vegetable dish, it is going to cool down 964 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 970 cooled down If the customer orders a hot drink, serve it immediately. SAMPLE OUTPUT Select order type: 1. Meat 2. Vegetable 3. Drink 4. Bakery 997 cooled 2:95 cooled $93 cooled $91 cooled 189 cooled 9.87 cooled $85 cooled 883 cooled $81 cooled 879 cooled $77 cooled 975 cooled 873 cooled %71 cooled 169 cooled 167 cooled 165 cooled 164 cooled 63 cooled 62 cooled $61 cooled $60 cooled 59 cooled 58 cooled 57 cooled 56 cooled 55 cooled 54 cooled %53 cooled 52 cooled 151 cooled 150 cooled 149 cooled Here is your meat SAMPLE OUTPUT 2 Select order type: 1. Meat 2. Vegetable 3. Drink 4. Bakery 3 Here is your drink SAMPLE OUTPUT 3 Select order type: 1. Meat 2. Vegetable 3. Drink 4. Bakery 2 %96 cooled %93 cooled %90 cooled $87 cooled %84 cooled %81 cooled %78 cooled %75 cooled %72 cooled $70 cooled %68 cooled %66 cooled 964 cooled %62 cooled %60 cooled %58 cooled Here is your vegetable

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!