Question: 2. (5 pt) Write a method, named rectangle, which accepts an integer size and draws the following type of rect- angle. Remember to show your
2. (5 pt) Write a method, named rectangle, which accepts an integer size and draws the following type of rect- angle. Remember to show your work. For example the following call triangle(5), would produce the following triangle: 555554444333221 555554444333221 555554444333221 555554444333221 555554444333221 ado
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
