Create an employee


Create an Employee class that has:
o name (string) and salary(double).
o set/get function to each data member.
? Write a function increaseSalary( Employee [], int s, double p) that receives an array of
employees, array size s, and a double variable representing the percentage of salary increase.
? Using the concept of dynamic arrays in C++, your program should create a dynamic array based
on the number of employee records in a text file. Then the program should read all the employee
data from the file and store them in the array. After that, call the increaseSalary function to
increase all salaries by 5%.
? Your program should save the updated employee data back to the file.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Create an employee
Reference No:- TGS0828657

Expected delivery within 24 Hours