Calculate the slope of a line through two points, reporting vertical lines as undefined.
Category: Education · Math.