Suppose two line segments intersect. The two endpoints for the first line segment are (x1, y1) and (x2, y2) and for the second line segment are (x3, y3) and (x4, y4). Write a program that prompts the user to enter these four endpoints and displays the intersecting point. As discussed in Programming Exercise, the intersecting point can be found by solving a linear equation. Use the LinearEquation class in Programming Exercise to solve this equation. See Exercise for sample runs. Write a program that prompts the user to enter four points and displays the intersecting point. Here are sample runs:

Two lines intersect in (a and b) and two lines are parallel in (c).

We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.