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.
typedef struct { double x; double y; double mass; } particle;which contains the x-coordinate, y-coordinate and the mass of particle. Then the program should prompt for coordinates and mass of two particles and return the center of mass of the system consisting of these two particles.