Question: You should have a mainline program logic, housekeeping ( ) , detail ( ) , finish ( ) ( endOfJob ( ) ) modules. C
You should have a mainline program logic, housekeeping detail finishendOfJob modules.
C dept table.xlsx
darr
darr
Minimize File Previewuse Word to develop the pseudocode for the following and file upload it into Canvas.
Develop the logic for a company that wants a report containing a breakdown of payroll by department.
Input: employee's department number, hourly salary, number of hours worked
Processing: calculate the gross pay for each employee and add it to the correct department accumulator
Output: A list of the seven departments in the company and the total gross payroll for each department. The department names are shown in table below.
If department is invalid, output a message "Invalid Department Number".
The department names that are in the dept table.xlsx file is declared in the Declarations statement as an array with a size of You also need to declare array of accumulators size where you will add the gross pay based on the department number for each employee. You decide on the sentinel value for end of file.
You should have a mainline program logic, housekeeping detail finishendOfJob modules.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
