#include #include "Point.h" using namespace std; const Point ORIGIN(0, 0); void displayPoint(const Point &p) { cout << "Point: (" << p.get_x() << ", " << p.get_y() << ")" << endl; cout << "Distance from origin: " << p.distance(ORIGIN) << endl; } int main(int argc, char** argv) { Point p(2, 3); displayPoint(p); return 0; }