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
Get step-by-step solutions from verified subject matter experts
