Computer Science, asked by sec20ec054, 4 months ago

write an algorithm distance between two point​

Answers

Answered by sk6949072
2

Answer:

two points, to find the square root of a number we use a predefined function sqrt() which is defined in math. h library header file. In this program, the x1 and x2 variables store the value of the x-axis of both points..

Explanation:

hope it will help you !. Be happy !.

Answered by SwaraGurav
0
Learn how to find the distance between two points by using the distance formula, which is an application of the Pythagorean theorem. We can rewrite the Pythagorean theorem as d=√((x_2-x_1)²+(y_2-y_1)²) to find the distance between any two points.
Similar questions