Quizzma Latest Questions

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

Anonymous

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.




Leave an answer

Leave an answer

Related Questions