Create a class POINT to represent a point in Cartesian coordinate system Choose appropriate data members. Provide member functions: Default constructor Parameterized constructor Input Output Distance( returns the distance between two POINT objects, the function takes one object as an input) isZero(determines if a point is the center) Midlepoint(returns the middle point , takes one object as an input and returns the answer in a POINT object) isEqualTo (compare two POINTs) isGreaterThan (compares two POINT in terms of the distance from the center ) o Above two function takes one POINT object as an argument and returns true if the condition is satisfied and false otherwise. plz solve it with C++.
Create a class POINT to represent a point in Cartesian coordinate system Choose
appropriate data members. Provide member functions:
Default constructor
Parameterized constructor
Input
Output
Distance( returns the distance between two POINT objects, the function takes one object
as an input)
isZero(determines if a point is the center)
Midlepoint(returns the middle point , takes one object as an input and returns the answer
in a POINT object)
isEqualTo (compare two POINTs)
isGreaterThan (compares two POINT in terms of the distance from the center )
o Above two function takes one POINT object as an argument and returns true if
the condition is satisfied and false otherwise.
plz solve it with C++.
![I. Create a class POINT to represent a point in Cartesian coordinate system Choose
appropriate data members. Provide member functions:
Default constructor
Parameterized constructor
Input
Output
Distance( returns the distance between two POINT objects, the function takes one object
as an input)
isZero(determines if a point is the center)
Midlepoint(returns the middle point , takes one object as an input and returns the answer
in a POINT object)
• isEqualTo (compare two POINTS)
isGreaterThan (compares two POINT in terms of the distance from the center)
Above two function takes one POINT object as an argument and returns true if
the condition is satisfied and false otherwise](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F3c2b97d8-8772-48f9-8e05-b3522e340c79%2F7e48fa12-4742-411d-95e0-12cf33a009bf%2F24ftlw_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 3 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)