Question: Write a Java program that uses nested loops to draw figures using that acters of the user's choice. A sample of the program is shown
Write a Java program that uses nested loops to draw figures using that acters of the user's choice. A sample of the program is shown below: choose an option Draw a Diamond Draw an Hourglass Draw a Hollow Rectangle Quit Your choice: 3 Enter character to draw with: * Choose an option Draw a Diamond Draw an Hourglass Draw a Hollow Rectangle Quit Your choice: 2 Enter character to draw with: # Choose an option Draw a Diamond Draw an Hourglass Draw a Hollow Rectangle Quit Your choice Enter character to draw with: @ choose an option Draw a Diamond Draw an Hourglass. Draw a Hollow Rectangle Quit Your choice 4 OK, thanks for playing
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
