Computer Science, asked by swethakrishna433, 4 months ago

Write a program to find shortest distance between three coordinates points,
representing vertices of a triangle, using inline function.

Answers

Answered by rpvvipex912152
0

Answer:

You are given two co-ordinates (x1, y1) and (x2, y2) of a two dimensional graph. Find the distance between them.

Examples:

Input : x1, y1 = (3, 4) x2, y2 = (7, 7) Output : 5 Input : x1, y1 = (3, 4) x2, y2 = (4, 3) Output : 1.41421

Similar questions