#include #include const double PI = 3.1415926535897932; // ---THE POINT CLASS--- class Point { private: double x; double y; public: Point(double x=0, double y=0); double get_x() const; double get_y() const; void set_x(double x); void set_y(double y); void read(); void print() const; void move(const Point &p); double dist(const Point &p) const; }; // Constructor Point::Point(double x, double y) { this->x = x; this->y = y; } // Selectors double Point::get_x() const { return x; } double Point::get_y() const { return y; } // Mutators void Point::set_x(double x) { this->x = x; } void Point::set_y(double y) { this->y = y; } // Input and Output void Point::read() { cout<<"x = "; cin>>x; cout<<"y = "; cin>>y; } void Point::print() const { cout<<"x = "<0) cout<<"Ne se presichat"; else if (d==0) cout<<"Dopirat se vunshno"; else cout<<"Presi4at se"; } // --- MAIN FUNCTION--- void main() { Point a(1,0), b(2,0), c; /// Tests for Point cout<<"d = "<