[SOLVED] Program to manage records and do analysis regarding projects

25.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon main-bblvmy.zip (1.2 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (2 votes)

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 structures and arrays. Create the struct for each file. In the driver program, read the files into the respective arrays. The analysis should happen through these arrays. 2. Your program should do the following:  Read the data file and store details in arrays.  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

PROJ_CODE JOB_CODE EMP_ID CHG_HOURS(Charge.txt)
1 CT 105 16.20
1 CT 110 14.30
1 EE 101 13.30
2 BE 108 17.50
2 EE 101 19.80
3 CT 105 23.40
3 CT 110 11.60

Employee.txt:

EMP_ID EMP_LNAME EMP_FNAME EMP_INITIAL EMP_AREA_CODE EMP_PHONE
101 Newson John   D 653 234-3245
105 Schwann David F 653 234-1123
108 Sattlemeier June H 905 554-7812
110 Ramoras Anne R 615 233-5568

Job.txt:

JOB_CODE JOB_DESCRIPTION JOB_CHARGE
BE BiologicalEngineer 55.00
CT ComputerTechnician 62.00
EE ElectricalEngineer 65.00

Project.txt:

PROJ_CODE PROJ_NAME
1 Hurricane
2 Coast
3 Satellite

The output should allow users to enter choices upon which choices from menu bar must be displayed eg :

………………….(1)…………..Exit the program………………………………………….

………………….(2)………….Display project txt file ………………………………….

………………….(3)………….Display change.txt file …………………………………

………………….(4) …………calculate total of all ………………………………………

………………….(5)…….display all files with respective totals ……………………

  • main-bblvmy.zip