
Exercising tasks
- Using a loop draw
9 same circles filled with random colour on a random spot with the thickness of
the pen set to 4 and its colour set to red. In the Form insert the Delete and
Quit buttons. Rename the buttons in the Form according to the action they
perform (Figure 72).
- Think about how it would be possible to enter digits into the circles (Figure 73).
- Using a nested For loop write down into the graphical area a multiplication table (Figure 74): the first row will contain multiples of 1, the second row multiples of 2, the third row multiples of 3, etc. up to tenth row (hint: take advantage of the internal loop both counters For a listing of the product).

Figure 72: Random circles

Figure 73: Random circles with numbers

Figure 74: Multiplication table