class banker: public criminal { public: string amount; banker(string f, string l, string a, string p, string ae); virtual void print(); }; banker::banker(string f, string l, string a, string p, string ae): criminal(f, l, a, p, "fraud"), amount(ae) { } void banker::print() { person::print(); cout << ", a banker"; }