/* dist - Numerator program to calculate the distance between any two points. */ new "Calculate distance between 2 points\n" "-----------------------------------\n" "Enter x coordinate of point 1 " get x1 "Enter y coordinate of point 1 " get y1 "Enter x coordinate of point 2 " get x2 "Enter y coordinate of point 2 " get y2 "Distance between points is " sqrt ( abs(x1 - x2) ^ 2 + abs(y2 - y1) ^ 2 )