Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+19 votes
asked in CSC211_Winter2018 by (8 points)

1 Answer

+10 votes

Starting from the outer square, the subsequent square should have
A/ x and y coordinates of the outer square plus 20
B/ the size of the outer square minus 40

From that you just have to make it so that as the loop count goes up (or down), the subsequent square's coordination and size change.

answered by (8 points)
...