This assignment gives the student more practice using for loops.
| EXAMPLE: The student will create an applet like the one shown here. This activity provides the student with practice using for loops. |
| x |
ASSIGNMENT:
Here's a little sample to help the student get started on this
assignment:
for(int x=0; x < 12; x++){
g.setColor(c[x]);
g.fillOval(...);
}
Color c[]= { Color.cyan, Color.orange, Color.blue, Color.green,
Color.pink, Color.black, Color.yellow, Color.gray, Color.magenta,
Color.red, Color.cyan, Color.orange };