Learn to Program with ZedLX

Free Online Programming Course for Beginners

Graph Drawing [4/9]

The line function has the form:
line(x1, y1, x2, y2)

Exercise:

Exercise 11 output image

Change the program so that first line ends are at coordinate y = i*i/600. Place the other line ends at y = 500.

The solution is on the next slide.

Loading...