Write a C++ program that accepts the rectangular coordinates of two points(x1, y

Write
a C++ program that accepts the rectangular coordinates of two points(x1, y1)
and (x2, y2), calculates the distance of each point from the origin, and the
distance between the two points and display the results.

You may also like