Question & Answer

This graphics program should draw a worm. A worm is made up of NUM_CIRCLES circles

This graphics program should draw a worm. A worm is made up of NUM_CIRCLES circles. Use a for loop to draw the worm, centered vertically on the screen. Also, be sure that the worm is still drawn across the whole canvas, even if the value of NUM_CIRCLES is changed.

Hint: Think about the location of each circle. You should see a pattern that develops and can be used in a loop.

0 Answers

Verified archive

No archived answer is available yet. Quizzma AI can explain it now.