// circle.cpp // implement the member functions of the class Circle #include #include "circle.h" using namespace std; Circle::Circle(double X, double Y, double R) { Xcenter = X; Ycenter = Y; radius = R; } void Circle::Show() { cout << "X, Y, R " << Xcenter << " " << Ycenter << " " << radius << endl; } void Circle::Set(double R) { radius = R; } void Circle::Move(double X, double Y) { Xcenter = X; Ycenter = Y; }