Using the Employee class from Worked Example 10.1 (ch10/salaries.cpp in yourcompanion
Chapter 10, Problem R10.16(choose chapter or problem)
Using the Employee class from Worked Example 10.1 (ch10/salaries.cpp in yourcompanion code), form a subclass Volunteer of Employee and provide a constructorVolun teer(string name) that sets the salary to 0.
Unfortunately, we don't have that question answered yet. But you can get it answered in just 5 hours by Logging in or Becoming a subscriber.
Becoming a subscriber
Or look for another answer