Question: i need code using C++Class/ OOP(object-oriented program). please use class CIRCLE. use public and private member. as shown in second image. constructor and deconstructor. Write

i need code using C++Class/ OOP(object-oriented program). please use class CIRCLE. use public and private member. as shown in second image. constructor and deconstructor.  i need code using C++Class/ OOP(object-oriented program). please use class CIRCLE.
use public and private member. as shown in second image. constructor and

Write solution for a problem following. Xz and y, are the x,y coordinates for one point x, and y, are the x,y coordinates for the second point, d is the distance between the two points. d= (x2 - x2)2 + ( Y2 - y2)2 y . (X2, Y2) (X, Y), Create a function that will calculate the distance between to points on the Cartesian Plane. Create a function that will find the circumference of a circle that uses the distance function as the radius. Create a function that will find the area of a circle that uses the distance function as the radius The program should input the x and y values of the two points. The should then call distance function to return the radius of the circle. Then the area and circumference function to return the area and circumference of the circle. A File Search Visual Studio (Ctrl Edit View Project Build Debug Test Analyze Tools Debug - 86 Extensions Window Help Local Windows Debugger (Global Scope) Explore Toote weekcass2000.cpp! X weekcossop 4 #include 5 | using namespace std; 6 class circle { 7 public: 8 1/ x1 yi and X2 y2 doubles 9 // set and get xl yl and x2 y2 10 7/ member return and calculate the radius 11 y member return A and p of the circle 12 private: 13 //variables xi yi and x2 y2 }; 15 16 17 18 14 ONE how to

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!