Reference no: EM133217865
Question: Create a class called CEmployee to store information, it will contain 5 data member for the name, gender, age, department and salary of the employee.
You will be reading a txt file line by line with the employee's information.
You then print out the employee's information with the class.
Follow is the example of the file:
Ann,F,30,Sales Dept,80000
John,M,25,IT Dept,60000
Frank,M,35,Marketing Dept,82000
Peter,M,2007,Marketing Dept,60500
Lee,F,2000,Marketing Dept,80000