Payroll System
Payroll System
Initialize variables
employeeName = employee.name
hourlyRate = employee.hourlyRate
totalHours = timeCardList[employee.id].sum() Sum hours worked for the week
overtimeHours = 0
regularHours = 0
regularPay = 0
overtimePay = 0
grossPay = 0
taxesDue = 0
netPay = 0
END FOR
END PayrollSystem