After:

class employee
{
   public:
      employee( string inName, unsigned short inAge );
      string getName() const { return name; }
      unsigned short getAge() const { return age; }

   protected:
      string name;
      unsigned short age;
};

class cook: public employee
{
   public:
      cook( string inName, unsigned short inAge, double inGpa );
      double getPay() const { return pay; }

   private:
      double pay;
};

class waiter: public employee
{
   public:
      waiter( string inName, unsigned short inAge, int inHours );
      int getHours() const { return hours; }

   private:
      int hours;
};