Line Segment Information
This program allows the user to draw a line segment and then displays some graphical and textual information about the line segment.
Input: 2 mouse clicks for the end points of the line segment.
Output: Draw the midpoint of the segment in cyan.
Draw the line.
Print the length and the slope of the line.