(Geometry: point on line segment) Exercise 3.32 shows how to test whether a point is on an unbounded line. Revise Exercise 3.32 to test whether a point is on a line segment. Write a program that prompts the user to enter the three points for $\mathrm{p} 0, \mathrm{p} 1,$ and $\mathrm{p} 2$ and displays whether $\mathrm{p} 2$ is on the line segment from $\mathrm{p} 0$ to $\mathrm{p} 1 .$ Here are some sample runs:
Enter three points for $p 0, p 1,$ and $p 2: 112.52 .51 .51 .5$
(1.5,1.5) is on the line segment from (1.0,1.0) to (2.5,2.5)
Enter three points for $p 0, p 1,$ and $p 2: 11223.53 .5$
(3.5,3.5) is not on the line segment from (1.0,1.0) to (2.0,2.0)