Question: in java please!, i do not know where to start, thank you! 12.10 LAB: Hot/cold drinks (branches) Write a program that takes as input a
in java please!, i do not know where to start, thank you!
12.10 LAB: Hot/cold drinks (branches) Write a program that takes as input a drink name, and outputs whether the drink is hot or cold. Valid drink names: coffee, tea, hot chocolate, water, juice, milk. The first three are hot, the last three cold. For water, also output "(add ice).For other names, output 'invalid drink. if the input is coffee, the output is: hot If the input is water, the output is: cold (add ice)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
