A point in planar Cartesian coordinates is normally defined with two integer values (x and y). Define a class named Point with two data members. Define a print function that returns the coordinates of a Point object. Define functions to tell the user if a point is on the left side, right side, above, or below another point. Define a function to find the distance between two points as shown below.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here