Define a new type called POINT3D that is a structure consisting of three fields, x, y and z, each of type double.
LANGUAGE: C++
CHALLENGE:
Define a new type called POINT3D that is a structure consisting of three fields, x, y and z, each of type double.
SOLUTION:
struct POINT3D{ double x,y, z; };