Question: please do in C++ language 09. Write a C++ class called Circle which has x and y center coordinates and a radius as data members.

please do in C++ language please do in C++ language 09. Write a C++ class called Circle

09. Write a C++ class called Circle which has x and y center coordinates and a radius as data members. The class should have the following features: A constructor which takes center coordinates x and y values and a radius value . An area method which returns the area of the circle as a double value . A display method which prints out the center, radius and area of the circle A method bool intersects (const Circle & c) which checks if this circle intersects with another Circle (You can the maths ibrary functions as needed) Here's some test code for your main method you can use to to test your class Circle ci(0,0,1); Circle c2(1,1,0.5); cl.displays c2.display(); cout "yes" !"no")

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!