Question: Write code for JAVA plase Assume that you own a smart microwave. It can arrange the heating time on its own. Write a program that
Write code for JAVA plase

Assume that you own a smart microwave. It can arrange the heating time on its own. Write a program that asks number of items that the user wants to heat in this microwave. Also, get the type of this food from the user as well (Meat, Vegetable or Bakery Products). According to the given inputs, calculate and display the recommended heating time. You should come up with default heating times from each type of food. If the user wants to heat up just a single item, use the default heating time. If the user wants to heat up just a two item, use %650 more than the default heating time. If the user wants to heat up just a three item, use 975 more than the default heating time. Heating more than three items at once is not recommended, so don't allow it. 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. SAMPLE OUTPUT 1 What is the food type that you want to heat? Press 1 for meat Press 2 for vegetable Press 3 for bakery 3 How many items you have? 2 Calculating.... You should heat your food 3 minutes SAMPLE OUTPUT 2 What is the food type that you want to heat? Press 1 for meat Press 2 for vegetable Press 3 for bakery 1 How many items you have? 5 1-11h not heating.. Sorry 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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
