$ 0 0 In this program, basically user is free to enter what ever the point coordinates he/she likes. But minimally there have to be 4 coordinates. Because triangle is always a convex hull. So this programs strictly tries get first 4 coordinates…