Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Overconfidence Anhilator [2/4]

As a solution of the previous exercise, the given program draws a horizontal line at a random distance from the top of the screen. Run and restart the program a few times.

Exercise:

Excercise 2 output: a horizontal line with a circle above it touching top of the screen and the line

Add a circle that touches the top of the screen and the line, and is centered on the middle column.

Restart your solution a few times to verify that it works correctly.

The solution is on the next slide.

Loading...