Homework: Conditionals and Loops

Create a Java project. In a main method offer the user a menu with options

0. Quit
1. Choose Symbol
2. Draw Bars
3. Draw Arrows.  
Keep letting them choose from these options until they quit.

Most of these options will draw shapes by printing, and you should default to using "*" as the book does, but if they choose 1, let them enter a different String to draw shapes with (if they choose something longer than one character the shapes may look weird, but this isn't your fault).

If they choose 2, do the task in problem 5.16 from the Deitel text - Bar chart Printing.

If they choose 3, go into a submenu where the options are

0. Return to Main
1. Choose Size
2. Left Up
3. Left Down
4. Right Down
5. Right Up 
Keep letting them choose from these options until they return to the main menu.

Options 2-5 are the triangle shapes from exercise 5.15 from the Deitel textbook.

Option 1 changes the size of all these shapes; default to 10 rows of 10 symbols (at widest) which is the book's version, but with this option the user can change the size. As long as they give you a negative size, make them keep trying.

[EC+15] Also offer an extra option in the submenu 6. All, and do problem 5.22 (the book's "hint" makes this sound harder than it is)


After you submit, remember to download your zip from blackboard, unzip it, and drag the unzipped directory to netbeans to make sure you submitted what you intended.

Remember that you want to give me as many opportunities as possible to give your credit for course material, specifically conditionals and loops for this assignment.