#include <iostream> using namespace std; class circle { private: int radium; public: circle (int m_radium) { m_radium = 1; radium = m_radium; }; int getradium() { return radium; } bool compare(circle rad) { return (radium - rad.radium) > 0; } }; int main() { circle cir1(5),cir2(7); if (cir1.compare(cir2)) cout << "cir1 is bigger!"<<endl; else cout << "cir2 is bigger!"<<endl; return 0; }