Electrical and Computer Engineering
4
UAH
CPE 112
Main Algorithm
•
Open file
payFile
, Set total payroll to zero
•
Get Data
•
As long as the employee number is not zero
•
Compute Result
•
Add employee’s wages to the total payroll
•
Output data
•
Get data
•
Output total payroll