Inside Or Outside

Write a program that reads the coordinates of the two points defining a
rectangle and then the coordinates of a
third point. The program must then determine whether the point falls
inside or outside the rectangle.