logo CodeStepByStep logo

Stairs3

Modify your Stairs program from the previous exercise to make a new class Stairs3 that draws the output shown below. Modify only the body of your loop. (You may want to make a new table to find the expressions for x, y, width, and height for each new output.)

Java DrawingPanel close maximize minimize
expected output
 

(The next exercise is a modified version of this program, so you can use the code you write here as a starting point for that exercise.)

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.