Question: This JAVA program is broken down into two phases for your convenience only. Please turn in only your final product. Phase 2:In this phase you

This JAVA program is broken down into two phases for your convenience only. Please turn in only your final product. Phase 2:In this phase you will allow the user to specify three things: the height of each stage the width of each stage how many stages in the rocket [A "stage" in your rocket is one rectangle. The example rocket above has a stage-height of 6, a stage-width of 5, and the number of stages is 2.] Your main method in phase 2 must look like this: public static void main(String[] args) { <6 statements to prompt for and read the stage-height, stage-width, number of stages.> drawRocket(); } You must still use the drawHorizontalLine(), draw2VerticalLines(), and drawOneRow() methods Notice that if you run the program and choose a different width for your stages, the cone won't really fit correctly anymore. I won't make you fix this, but you can fix it for 5 points of extra credit if you like. However, I will not help you with the extra credit. In order to get the extra credit, the number of rows of your cone must be equal to the width of the stages divided by 2 (plus 1 for odd widths). If the stage width is an even number, your cone must have two stars in the top row instead of one. If you do this perfectly and use good decomposition in the process you'll get 5 extra credit points.

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!