Coding challenge

Write some code that will accept two points $(x_1,y_1)$ and $(x_2,y_2)$. Your code should use the "slope-intercept" form of the line, $y=mx+b$, to draw individual points, that follow a straight line between these points. Plot the line using pset(x,y).

Type your code here:


Lua reference

See your results here: