write a program to manage employee information for a company . you have to solve this assignment by using classes and a singly linked list of employees.
cout << "At AcmeSexist company, John and Sally have the same
job.\n";
cout << "John is " << John.GetAge() << " years old and he has
been with";
cout << "the firm for " << John.GetYearsOfService << "
years.\n";
cout << "John earns $" << John.GetSalary << " dollars per
year.\n\n";
cout << "Sally, on the other hand is " << Sally.GetAge() << "
years old and has";
cout << "been with the company " << Sally.GetYearsOfService;
cout << " years. Yet Sally only makes $" << Sally.GetSalary();
cout << " dollars per year! Something here is unfair.";
So what exactly is wrong with your program? I'm glad to see you finally posted some code with your homework even if you are missing all the classes which your assignment wants and the rest of your code.
Ps. try the <> button in the edit/reply menu or