Using C Assignment Uses Two Classes Utilize Concept Aggregation One Class Called Timeoff C Q37026162

Using C++, this assignment uses two classes which utilize theconcept of aggregation. One class will be called TimeOff. Thisclass makes use of another class called NumDays. Then you willcreate a driver (main) that will handle the personnel records for acompany and generate a report.

TimeOff class will keep track of an employee’s sick leave,vacation, and unpaid time off. It will have appropriateconstructors and member functions for storing and retrieving datain any of the member objects.

Data members of TimeOff:

  • name as string – name of employee
  • empNum as integer – employee ID
  • maxSickDays as NumDays
  • sickTaken as NumDays
  • maxVacation as NumDays
  • vacTaken as NumDays
  • maxUnpaid as NumDays
  • unpaidTaken as NumDays

Validation:

  • Company
    OR
    OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.