Question: help!!!!!!!! Lab08_DrawShape.java - This application should accept one positive integer from the user as the size of the shape that looks like the following 6

help!!!!!!!!

help!!!!!!!! Lab08_DrawShape.java - This application should accept one positive integer from the

Lab08_DrawShape.java - This application should accept one positive integer from the user as the size of the shape that looks like the following 6 examples: Enter the size: 3 Enter the size: 1 * * * * * * * * Enter the size: 5 Enter the size: 2 * * * * * * * * * * * * * * * * * * * * * * * * Enter the size: 8 Page 1 Enter the size: 7 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Your code should work for any positive integer. Output the shape drawing to the console AND ALSO to a text file named, ShapeSizeN.txt, where N is the size entered by the user. Assume no user input errors. The output files created by the executions shown above would be named: ShapeSize3.txt, ShapeSize1.txt, ShapeSize5.txt, ShapeSize2.txt, ShapeSize8.txt, and ShapeSize7.txt. Get a size from the user, then draw the shape and output it to a file. Then ask the user if they want to draw another one. Continue this until the user answers with anything other than 'y' or 'Y'. Example execution implementing this requirement: ----jGRASP exec: java Lab08_DrawShape Enter the size: 8 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Page 2 Continuation of * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Page 1 ==> Another one? (y or n) y Enter the size: 3 * * * * * * * * ==> Another one? (y or n) n ----jGRASP: operation complete

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 Programming Questions!