Testing Two Numbers Tutorial

From Progzoo
Jump to: navigation, search

  • You may want to review: and

Line

BoxesVline.png

The pickCol method is called for each of the boxes. The colour of each box depends on the parameters i and j

Change the code so that a vertical line is drawn as shown.

[Font] [Default] [Show] [Resize] [History] [Profile]

Cross

A cross of a vertical and a horizontal line.

BoxesCross.png
[Font] [Default] [Show] [Resize] [History] [Profile]

Leading Diagonal

The leading diagonal is from top left to bottom right.

BoxesLeading.png
[Font] [Default] [Show] [Resize] [History] [Profile]

Trailing Diagonal

The trailing diagonal is from top right to bottom left.

BoxesTrailing.png
[Font] [Default] [Show] [Resize] [History] [Profile]

Rightmost columns

The three columns to the right.

BoxesRight3.png
[Font] [Default] [Show] [Resize] [History] [Profile]

Bottom right corner

Nine boxes in the bottom right corner.

BoxesBotRight.png
[Font] [Default] [Show] [Resize] [History] [Profile]