Write an application that reads the (x,y) coordinates for two points.

LANGUAGE: Java

CHALLENGE:

Write an application that reads the (x,y) coordinates for two points.
Compute the distance between the two points using the following formula:

Distance = the square root of the sum of the square of the difference of the x coordinates and the square of the difference of the y coordinates

SOLUTION:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,