#include typedef struct points2D{ double x; double y; }pts; double tri_area(pts p1,pts p2,pts p3) { double A; //Calculating the area of triangles A=0.5*((p1.x*p2.y)+(p2.x*p3.y)+(p3.x*p1.y)-(p1.y*p2.x)-(p2.y*p3.x)-(p3.y*p1.x)); return A; } int main() { int N,i,flag=0; scanf("%d",&N); pts p[N],p1,p2,p3; double arr[N]; for(i=0;i=0) { flag=1; break; } } } //Set the condition to find out whether all the area of the triangles are +ve else { for(i=1;i