Exercise 24: Distance Between Points

Date completed: 28/06/2018

Write method distance to calculate the distance between two points (x1, y1) and (x2, y2). All numbers and return values should be of type double. Incorporate this method into an application that enables the user to enter the coordinates of the points.

The Created Code

The created source code can be found here. It has been compressed in to a 7-Zip file.

Some screen prints

Description Screen Print Out
The output as seen in Eclipse. cpp_s05_ex24 image