write a c++ program to determine the point which is equidistant from all the three points . print the output in one-by-one.
Answers
Answered by
4
Answer:
Given three points, check whether they lie on a straight (collinear) or not
Examples :
Input : (1, 1), (1, 4), (1, 5)
Output : Yes
The points lie on a straight line
Input : (1, 5), (2, 5), (4, 6)
Output : No
The points do not lie on a straight line
Similar questions