Introduction - If you have any usage issues, please Google them yourself
Create a class named 3DPoint to modeling three-dimensional space to a point. The 3DPoint MyPoint designed as a derived class, including the following additional attributes:
(A) a data field called z, showing the z-axis.
(2) a no-argument constructor, create a coordinate (0,0,0) point.
(3) with a constructor argument, create a point at the specified coordinates.
(4) z getter function.
(5) covering the distance function that returns the distance between two points in three-dimensional space.
(6) a function named getPerimeter () returns the perimeter of the rectangle.
Write a test program that creates two points at coordinates (0,0, 0) and (10,30,25.5), and outputs the distance between two points.