Programming for Kids - ZedLX

The Easiest Way to Learn Computer Programming, for Free

Graph Drawing [1/8]

Graph Drawing

This program draws vertical lines. The lines are 50 pixels apart. Top line ends are at coordinate y = 10, and the other line ends are at y = 710.


Exercise 9 output image

Change the program so that the lines are 8 pixels apart. Also, reduce the sleep time so that the image is drawn faster.

The solution is on the next slide.