#include <iostream>
#include <cmath>
#define _USE_MATH_DEFINES//用库里的pi
#define pi 3.1415926
using namespace std;
class CIRCLE {
private:
double x, y, r;
public:
CIRCLE(double xx = 0, double yy = 0, double rr = 0) {
x = xx;
y = yy;
r = rr;
}
void set(double xx, double yy, double rr);
double area();//面积
double perimeter();//周长
void show();//显示坐标和周长
};
int main() {
CIRCLE a;
double x, y, r;
cin >> x >> y >> r;
CIRCLE b(x, y, r);
a.show();
cout << endl;
cout << a.perimeter() << endl;
cout << a.area() << endl;
b.show();
cout << endl;
cout << b.perimeter() << endl;
cout << b.area() << endl;
return 0;
}
void CIRCLE::set(double xx, double yy, double rr) {
x = xx;
y = yy;
r = rr;
}
void CIRCLE::show() {
cout << "(" << x << "," << y << "," << r << ")";
}
double CIRCLE::perimeter() {
return double(2 * pi * r);
}
double CIRCLE::area() {
return double(pi * r * r);
}