A new version of the scribbler program that draws in four
different colors.
Click on Scribble4Color
to show the example. It also illustrates the use of the if-then-else
statement.
A fancier version of the scribbler program that generates a
random color by using a method that returns a randomly chosen color.
Alternatively we could have chosen a color at
random by using a random number generator that selects a number
between 0 and 255.