Question: in Java The prompt messages for the user is entirely up to you. Sample outputs are just inserted here for you to understand the question


in Java
The prompt messages for the user is entirely up to you. Sample outputs are just inserted here for you to understand the question better. You can and should develop your own solutions.
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 93per minite. You need to serve it when it is 9650 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 960 cooled down. If the customer orders a bakery product, it is going to cool down 965 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 1 Select order type: 1. Meat 2. Vegetable 3. Drink 4. Bakery 1 %97 cooled %95 cooled %93 cooled %91 cooled %89 cooled %87 cooled %85 cooled %83 cooled %81 cooled %79 cooled %77 cooled %75 cooled %73 cooled %71 cooled %69 cooled %67 cooled %65 cooled %64 cooled %63 cooled %62 cooled %49 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 %64 cooled %62 cooled %60 cooled %58 cooled Here is your vegetable
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
