double startingLat = readDouble("Enter the latitude of the starting location: "); double startingLong = readDouble("Enter the longitude of the starting location: "); double endingLat = ...