22:14:22 方法二:面向对象的方法 include <iostream> using names pace std const float pi=3. 1415926; void maino Circle A B A Set- Radius (6. 23f) cout < A Radius= < A. Get-Radius0 < end1 cout < A Girth= < A Girtho<< end1; cout < AArea="<< A Area0 < end1: B Set- Radius(10. 5f) cout < B Radius= < B Get- Radius o < end1 cout < "B Girth=<< B Girtho<< end1 cout < B Area= < B Area0 < end1:22:14:22 方法二:面向对象的方法 #include <iostream> using namespace std; const float pi=3.1415926; void main(){ Circle A,B; A.Set_Radius(6.23f); cout << "A.Radius= " << A.Get_Radius() << endl; cout << "A.Girth= " << A.Girth() << endl; cout << "A.Area= " << A.Area() << endl; B.Set_Radius(10.5f); cout << "B.Radius= " << B.Get_Radius() << endl; cout << "B.Girth= " << B.Girth() << endl; cout << "B.Area= " << B.Area() << endl; }