//ex9_3.cpp //множественное наследование класса публикаций #include #include using namespace std; /////////////////////////////////////////////////////////// class publication { private: string title; float price; public: void getdata() { cout <<"\nВведите заголовок:";cin >>title; cout <<"Введите цену:";cin >>price; } void putdata()const { cout <<"\nЗаголовок:" <>salesArr [j]; } } //--------------------------------------------------------- void sales::putdata()const { for(int j=0;j>pages; sales::getdata(); } void putdata()const { publication::putdata(); cout <<"\nСтраниц:" <>time; sales::getdata(); } void putdata()const { publication::putdata(); cout <<"\nВремя звучания:" <