Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Make with Java Assume that you are a chef in a restaurant. You are going to serve a very hot plate to a customer. If

Make with Java image text in transcribed
image text in transcribed
image text in transcribed
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. of the customer orders a vegetable dish, it is going to cool down per minite. You need to serve it when it is M60 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 server it immediately SAMPLE OUTPUT 1 Select order type: 1. Meat 2. Vegetable 3. Drink 4. Bakery 2 497 cooled 195 cooled 493 cooled 491 cooled 489 cooled 487 cooled 485 cooled 183 cooled 481 cooled 479 cooled *77 cooled 481 cooled 879 cooled $77 cooled $75 cooled 173 cooled 471 cooled 169 cooled 167 cooled 165 cooled 164 cooled 163 cooled 162 cooled 161 cooled 160 cooled 159 cooled 158 cooled 57 cooled 156 cooled 155 cooled 154 cooled 153 cooled 152 cooled 151 cooled 150 cooled 149 cooled Here is your neat SAMPLE OUTPUT Select order type: 1. Meat 2. Vegetable 3. Drink 4. Bakery 3 Here is your drink SAMPLE OUTPUTS Select order type: 1. Meat 2. Vegetable 3. Drink Here is your drink SAMPLE OUTPUT 3 Select order type: 1. Meat 2. Vegetable 3. Drink 4. Bakery 2 496 cooled 493 cooled 490 cooled 487 cooled *84 cooled 481 cooled 78 cooled *75 cooled 872 cooled 470 cooled 468 cooled 466 cooled 464 cooled 462 cooled $60 cooled 458 cooled Here is your vegetable Your

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

Professional Microsoft SQL Server 2012 Administration

Authors: Adam Jorgensen, Steven Wort

1st Edition

1118106881, 9781118106884

More Books

Students also viewed these Databases questions

Question

=+j on to staff their operations in the global marketplace.

Answered: 1 week ago