#include #include using namespace std; class Punkt { double x, y; public: Punkt(double x, double y) { this->x=x; this->y=y; } }; class Kolo { double r; Punkt *srodek; public: Kolo(double x, double y, double r) { srodek = new Punkt(x,y); this->r=r; } void pokaz() { cout << " x="<< srodek->x; } }; int main() { Kolo k1(10,5,9); k1.pokaz(); return 0; }