For Tutorial 2

From Progzoo
Jump to: navigation, search

More squares

Change the program so that there are 10 squares in a row.

Row of Squares
[Font] [Default] [Show] [Resize] [History] [Profile]

Increase the gap

Increase the gap between the squares. You can do that by changing 10*i to 20*i

Row of Squares
[Font] [Default] [Show] [Resize] [History] [Profile]

Vertical Squares

Draw a vertical row of squares

Vertical Row of Squares
[Font] [Default] [Show] [Resize] [History] [Profile]

Growing Squares

Each square starts in the same place but they all have different sizes.

Growing of Squares
[Font] [Default] [Show] [Resize] [History] [Profile]