//Program to implement multiple inheritance to calculate total revenue generated from the sales of books
#include
using namespace std;
class publication
{
private:
char publisher[20];
protected:
double price;
public:
void read()
{
cout<<"Enter publisher and price : ";
cin>>publisher>>price;
}
void show()
{
cout<<"\nPublisher = "<>author>>isbn>>pages;
}
void show()
{
cout<<"\nBook info: "<