#include<iostream>
using namespace std;
class Circle
{
private:
double radius;
public:
Circle(int r);
double getArea();
};
Circle::Circle(int r)
{
radius=r;
}
double Circle::getArea()
{
return radius*radius*3.1415926;
}
int main()
{
Circle cr(2);
cout<<"S="<<cr.getArea()<<endl;
return 0;
}
06-03
864
01-27
627