Question: Write a simple java program that asks the user 1: Small square, Medium square, or Large square? 2: Red, Green, or Blue? 3: Star, dot

Write a simple java program that asks the user

1: Small square, Medium square, or Large square?

2: Red, Green, or Blue?

3: Star, dot or triangle? ---(this will print inside the colored square from the last two steps)

And then out prints a simple graphic accordingly after the questions are answered by the user. Use drawString() method as well as if else statements to program this task. Please keep as simple 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!