222: Build an employee management system that dynamically manages an employee database.Create a class representing an employee with attributes like name, ID, and salary.Implement a dynamic array to store and manipulate employee records, including adding new employees, removing employees, and displaying the details of all employees.
// Build an employee management system that dynamically manages an employee database.Create a class // representing an employee with attributes like name, ID, and salary.Implement a dynamic array to store and // manipulate employee records, including adding new employees, removing employees, and displaying the // details of all employees. #include < iostream > using namespace std ; class Employee { private : string name , ID ; int salary ; public : Employee ( string n = "" , string id = "" , int s = 0 ) { name = n , ID = id , salary = s ; } void setName ( string n = "" ) { name = n ; } void setID ( string id = "" ) { ID = id ; } void setSalary ( int s = 0 ) { salary = s ; } string getName () { return name ; } string getID () { return ID ; } int getSalary () { return salary ; } ...