int main()
{
//Write Employee class to create Emp array size of 6 below:
cout << "Enter employee details:\n ";
for (int i = 0; i<6; i++)
{
cout << "\nemployee " << i + 1 << endl;
//Use the Emp object array to access the getdata method, write the content of the Emp array using the getdata() method below
}
cout << "\nEmployee details are as follows :";
cout << "\n\n" << setw(20) << "NAME" << setw(10) << "CODE";
cout << "\n------------------------------";
//Display each of the Emp array by accessing the display method below.
return 0;
}