Exercising tasks
- Modify the previous example (Figure 79) so that the graphical area will be divided into 4 parts and each one of them will be dotted by another colour (Figure 80).
- Write out in the graphical area words Lazarus and Pascal on random positions so that on the lower half, there will be a blue word Pascal, and on the upper half a pink word Lazarus (Figure 81).
- Think about how you would draw the following picture (Figure 82). (Hint! We test in the condition the coincidence (a logical expression contains a random function, each tenth is greater and differently coloured) and we use a conditional command with a full condition.)
Figure 80: Graphical area divided into four parts
Figure 81: Graphical area divided into two parts
Figure 82: Testing coincidence