Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Computer Graphics Exercises [6/9]

[Run the program]

Exercise:

Exercise 5 output image

Make the program draw discs on both diagonals. Use only one for loop. Draw two discs in each iteration of the for loop, one disc on each side of the screen.

The solution is on the next slide.

Loading...