#include <iostream>
using namespace std;
class circle{
public:
circle(int num1,int num2,int num3){
this->a=num1;
this->b=num2;
this->c=num3;
}
int gets(){
return 2*a*b+2*b*c+2*a*c;
}
int getv(){
return a*b*c;
}
bool ifsame(circle &p){
if(this->a==p.a&&this->b==p.b&&this->c==p.c){
return true;
}
else{
return false;
}
}
int a;
int b;
int c;
};
void test(){
circle c1(1,2,3);
circle c2(1,2,3);
bool temp=c1.ifsame(c2);
if(temp){
cout<<"c1=c2"<<endl;
}
cout<<"c1 s="<<c1.gets()<<endl;
cout<<"c1 v="<<c1.getv()<<endl;
}
int main(){
test();
system("pause");
return 0;
}