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

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