Write a program that fills the background with at least 100 colored bars, each stretching either top to bottom or side to side. Each rectangle should be drawn with no outline, and each one should be progressively darker than the one before it. The choice of color is up to you. Here's a purple example:
Write a program that draws 1000 circles, each one of a randomly-chosen size and coordinates. Note that you can generate a random integer within a range by using the random() function, together with an explicit conversion to and int. For example,
int x = (int) random(1,50);
Here is one output from my solution:
Make a folder in your turn in directory named "lab3". Copy all four of your solutions in to this folder. Consult the Linux tutorial from Lab #0 if you need a reminder of the details.
Your code must be syntactically correct. Any solution that contains a syntax error anywhere (and hence crashes when you hit the "play" button") will receive no credit.
If you run into any trouble here, please ask me or one of the TAs for help.
Naturally, your code must be behaviorally correct, though partial credit is always given for partial solutions.