Question: Write a psuedocode and/or flowchart for this problem Instructions: a) The Timely Talent Temporary Help Agency maintains an employee master file that contains an employee

Write a psuedocode and/or flowchart for this problem

Instructions:

a) The Timely Talent Temporary Help Agency maintains an employee master file that contains an employee ID number, last name, first name, address, and hourly rate for each temporary worker. The file has been sorted in employee ID number order. Each week, a transaction file is created with a job number, address, customer name, employee ID, and hours worked for every job filled by Timely Talent workers. The transaction file is also sorted in employee ID order. Design the logic for a program that matches the master and transaction file records, and output one line for each transaction, indicating job number, employee ID number, hours worked, hourly rate, and gross pay. Assume that each temporary worker works at most one job per week; output one line for each worker who has worked that week.

b) Modify the help agency program so that any temporary worker can work any number of separate jobs in a week. Print one line for each job that week.

c) Modify the help agency program so that it accumulates the workers total pay for all jobs in a week and outputs one line per worker.

Rubrics: You must use master/transaction file handling in this assignment where your housekeeping module opens all files at the start of your operation and your endOfJob module closes all files before exiting. Your main program should have start/stop, declarations with data type for all variables clearly stated, input, calculation/process, output, and modules as needed. Modules should include module names and return. Use appropriate symbols for flowcharts and indentation for pseudocode. When using sentinel value be sure the variable used in the sentinel value matches the priming variable used in housekeeping module and the input variable in detailLoop module. Hint: question b is similar to a except except skipping reading the master file when the two records are the same; and for question c you must add control break. Submit all your work in a single PDF file. See the textbook example for dependents on pages 283-285.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!