Question: Can someone write a simple code with explanations (In Java) that runs the following? 1. Greet the user. 2. Asks what size coffee cup they
Can someone write a simple code with explanations (In Java) that runs the following?
1. Greet the user.
2. Asks what size coffee cup they want (S,M,L)
3. Asks if they want hot or cold. If hot, draw three cured lines of steam coming off the top of cup. If iced, leave it as the original coffee cup.
4: Asks if they want a straw or not. If yes, draw a straight line coming out of the top center of the cup, if not leave as original.
5: Ask what color cup they want (Blue, Red, or White).
6: Create a very SIMPLE graphic of the cup the user customized. Use very simple shapes, does not have to be detailed. Make it look as "clipart" as possible.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
