Question: 1.Take user input and give corresponding output. A user is considering different options of cooking chicken nugget. Depending on user input, this program should give

1.Take user input and give corresponding output.

A user is considering different options of cooking chicken nugget. Depending on user input, this program should give different cooking instructions. There are three options. If user enters "microwave", the program should output "3 mins". If user enters "oven", the program should output "15 mins". If user enters "fry pan", the program should output "10 mins". If user enters anything else, the program should output "invalid input". For example, if user enters "microwave", this is how the program should look like:

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 Programming Questions!