expand icon
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

Programming Logic and Design, Introductory 7th Edition by Joyce Farrell

النسخة 7الرقم المعياري الدولي: 1285225562
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

Programming Logic and Design, Introductory 7th Edition by Joyce Farrell

النسخة 7الرقم المعياري الدولي: 1285225562
تمرين 25

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 worker’s total pay for all jobs in a week and outputs one line per worker.

التوضيح
like image
like image
no-answer
هذا السؤال ليس له إجابة موثقة من أحد الخبراء بعد، دع الذكاء الاصطناعي Copilot في كويز بلس يساعدك في إيجاد الحل.
close menu
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
cross icon