Write a program to use aggregation for the class of containership with employees and degrees a

#include<iostream>
using namespace std;
class student
{
private:
string school;
string degree;
public:
void getedu()
{
cout<<“Enter name fo school or university: “;
cin>>school;
cout<<“Enter highest degree earned \n”;
cout<<“(Highest, bachelors,masters,PhD): “;
cin>>degree;
}
void putedu()
{
cout<<“\nSchool or university: “<<school;
cout<<“\nHigest degree earned: “<<degree;
}
};
class employee
{
private:
string name; //employee name
unsigned long number; // employee number
public:
void getdata()
{
cout<<“Enter last name: “;
cin>>name;
cout<<“Enter number: “;
cin>>number;
}
void putdata()
{
cout<<“\nName: “<<name;
cout<<“\nNumber: “<<number;
}
};
class manager
{
private:
string title; //voce president etc
double dues; //golf club dues
student stu; //object of student
employee emp; //object of employee
public:
void getdata()
{
emp.getdata();
cout<<“Enter title: “;
cin>>title;
cout<<“Enter golf club dues: “;
cin>>dues;
stu.getedu();
}
void putdata()
{
emp.putdata();
cout<<“\nTitle: “<<title;
cout<<“\nGolf club dues: “<<dues;
stu.putedu();
}
};
class scientist
{
private:
int pubs; // number of publications
employee emp; // object of class employee
student stu; // object of class student
public:
void getdata()
{
emp.getdata();
cout<<“Enter number of pubs: “;
cin>>pubs;
stu.getedu();
}
void putdata()
{
emp.putdata();
cout<<“\nNumber of publications: “<<pubs;
stu.putedu();
}
};
class laborer
{
private:
employee emp; // object of class employee
public:
void getdata()
{
emp.getdata();
}
void putdata()
{
emp.putdata();
}
};
int main()
{
manager m1;
scientist s1,s2;
laborer l1;
cout<<endl;
cout<<“\nEnter data for manager 1: “;
m1.getdata();
cout<<“\nEnter data for scientist 1: “;
s1.getdata();
cout<<“\nEnter data for scientist 2: “;
s2.getdata();
cout<<“\nEnter data for laborer 1: “;
l1.getdata();
cout<<“\nData on manager 1: “;
m1.getdata();
cout<<“\nData on scientist 1: “;
s1.putdata();
cout<<“\nData on scientist 2: “;
s2.putdata();
cout<<“\nData on laborer 1″;
l1.putdata();
cout<<endl;
return 0;
}