Define a new type called POINT that is a structure consisting of two fields, x and y, both of type double.
LANGUAGE: C++
CHALLENGE:
Define a new type called POINT that is a structure consisting of two fields, x and y, both of type double.
SOLUTION:
struct POINT { double x,y; };