Write a program that prompts the user to enter two points (x1, y1) and (x2, y2) and displays the distance between them. The formula for computing the distance is √(x2 − x1) 2 + (y2 − y1).

Solved
Show answers

Ask an AI advisor a question