Three vertices of a triangle were given along with one more point.We have to check whether a given point lies inside a triangle or not.
Answers
Answered by
0
Three points lie on the straight line if the area formed by the triangle of these three points is zero. So we will check if the area formed by the triangle is zero
Similar questions