Task=Define class Point (with member variables x and y indicating the coordinate values)
Define two Constructors of Point. Point(); and Point(double, double);
Define the print function to print the info like“The point is (5,4).”
Overload the operator + as a friend function of class Point.
Define the friend function double getDistance(Point p1, Point p2) using Euclidean distance formula.
Problem:
im struggling how to set the p3 as Ecludian distance formula , could anyone help me plz