Question: Need help in this assignment! C++ MUST BE DONE IN C++ A company wants you to create a program to manage records and do analysis
Need help in this assignment!
C++
MUST BE DONE IN C++
A company wants you to create a program to manage records and do analysis regarding projects. The company stores all information in a file as follows: - The PROJECT file contains project characteristics such as the project name and project code.
- The EMPLOYEE file contains the employee names, phone number, address, etc.
- The JOB file contains the billing charge per hour for each of the job types a biological engineer, a computer technician, and electrical engineer would generate different billing charges per hour.
- The CHARGE file would be used to keep track of the number of hours by job type that will be billed for each employee who worked on the project.
Requirements:
1. This problem must be solved using Linked List. You need to create linked list for each file. You can either use struct or class to create linked list.
2. Your program should do the following:
Read the data file and store details as linked list.
Create a menu for the user that can do the following:
o Exit program
o Display all projects handled by the company
o Display Employee ID, Employee Name, Job Description and Total amount earned by each employee. Amount can be calculated using CHG_HOURS and JOB_CHARGE.
o Display project code, project name and the total amount paid to all employees involved in that project.
o Search an employee using the employee ID. This function should return a pointer to a node. The details of the employee should be printed by the main program or any other print function.
o Insert an employee to the list. The function should return a pointer to the newly created node.
o Remove an employee from the list. This function should search an employee using search function given above and then remove the node returned by the search function.
Except the first menu, all others should be implemented using functions of the main program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
