Homework 2

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.

If they choose 3, go into a submenu where the options are 0 Return to Main, 1. Left Up, 2. Left Down, 3. Right Up, 4. Right Down. Keep letting them choose from these options until they return to the main menu. These four choices are the shapes from exercise 5.15 from the Deitel textbook.

[EC+15] Also offer an extra option in the submenu 5. 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.