Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Overconfidence Anhilator [1/4]


Overconfidence Anhilator

Let the variable y equal a random whole number in the range 1–707.

Exercise:

Excercise 1 output: a horizontal line

Draw a horizontal line at the distance y from the top of the screen. The screen is 960 pixels wide.

To verify that your program works as intended, restart it a few times.

The solution is on the next slide.

Loading...