Create a class called Company which contains a pointer called PtrArr which is used to point an array of employee objects and 1 integer data member. The integer data member will be used to store the number of existing employee currently. [make sure you have a proper constructors to create the array for the pointer] Include the following member functions:-
I. Insert new Employee (to insert new employee object into the array. Make proper validations on appropriate fields. The employee_no is auto generated based on the number of objects created)
II. Update (to search a employee base on the employee_no and allow the user to modify all data except employee_no)]
III. Report based on employee_type and then based on gender. The employee records must be sorted based on employee_name.
IV. Report based on employee age (display employee records between age ranges). To find the age, calculate the employee year from today’s year.