Take a structure point defined by
typedef struct{
float x;
float y;
} point;
which represents a point in the plane. Define the structure triangle by
typedef struct{
point ver1;
point ver2;
point ver3;
} triangle;
which represents a triangle in the plane with vertices ver1,
ver2 and ver3. Define a function Angle
float Angle(triangle T, int i){
...
}
which calculates the angle of the triangle T at vertex
veri (in degrees). Finally, write a program which prompts for three
points in the plane and outputs the angles of the triangle which they
determine.