#include "figury.h" #include int main() { Figura f1("Pewna figura"); Figura f2; cout << f1 << endl << f2 << endl; Kolo k1; Kolo k2(0.5); Kolo k3(3,"Trzecie kolo"); cout << k1 << endl << k2 << endl << k3 << endl; Kwadrat kw1; Kwadrat kw2(3); Kwadrat kw3(2,"Dziwny kwardat"); cout << kw1 << endl << kw2 << endl << kw3 << endl; Trojkat t1; Trojkat t2(3,4,5); Trojkat t3(1,4,5,"Nowy Trojkat"); cout << t1 << endl << t2 << endl << t3 << endl; }