The user needs to input four coordinate points in order to receive the distance between these two points. The pythagorean theorem was a key on the process to calculate the distance between them. This was made possible as always thanks to Elus Blog which he makes the best blogs!