(Geometry: same line?) Programming Exercise 6.39 gives a method for testing
whether three points are on the same line.
Write the following method to test whether all the points in the array points are
on the same line:
public static boolean sameLine(double[][] points)
Write a program that prompts the user to enter five points and displays whether
they are on the same line. Here are sample runs:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here