Question: 2. Create a class Point to store three-dimensional points, and overload its operator- to return the distance between the points on the left- and right-hand

2. Create a class Point to store three-dimensional points, and overload its operator- to return the distance between the points on the left- and right-hand sides of the operator. Output should be as follows for the following main function: int main() Point p1(1,1,1), p2 (-1,2,3); cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
