Suppose we have the following two points in a 3D space:

The distance between point1 and point2 is:

Please create a ThreeD class to calculate the distance between two 3D points.
請宣告ThreeD類別來算出兩個3D點的距離。
Hint:
- Write three public functions to Point class to get the value of X, Y, and Z
- 建立三個public函數為讀取X,Y,Z的值
Example input:
1 1 1
2 3 4
Example output:
Distance is: 3.74166