Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Variables [4/14]

This program draws three rows of discs. The disc size is 90 pixels.
[Run the program]

Exercises:

1. Change the initial value of the variable size in the first statement. Try several values in the range from 30 to 200.

2. Set the initial value of the variable size to value 35.
[Run the program]

3. Modify the literals (i.e. literal expressions) 1, 2 and 3 in the disc procedure calls. Try some other small numbers, and observe the effects.

Loading...