logo CodeStepByStep logo

Squares3

Modify your Squares2 program from the previous exercise into a new class Squares3 that draws the following figures. (Go back to that problem and copy/paste your code here as a starting point.) Parameterize your program so that the figures have the sizes shown below. The top-right figure has size 50, and the bottom-right figure has size 180.

Java DrawingPanel close maximize minimize
expected output
 
Class: Write a complete C# class.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.