void PrintPoint(Point P){ printf("(%d,%d)\n",P.GetAbsis(),P.GetOrdinat()); }
Point Point::Add(Point P){ return (Point ((x +P.GetAbsis()),(y+P.GetOrdinat()))); }
void Point::AddToMe(Point P){ x = x + P.GetAbsis(); y = y +P.GetOrdinat(); }
Point Point::Add(Point P1, Point P2){ return (Point ((P1.GetAbsis()+P2.GetAbsis()), (P1.GetOrdinat()+P2.GetOrdinat()))); }