Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assume that you are a chef in a restaurant. Yolu are going to serve a very hot plate to a customer. If it is too
Assume that you are a chef in a restaurant. Yolu 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. 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 %61 cooled %60 cooled %59 cooled %58 cooled %57 cooled %56 cooled 255 conlod %56 cooled %55 cooled %54 cooled %53 cooled %52 cooled %51 cooled %50 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: 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started