Professional Documents
Culture Documents
Declarations
num deptNum
num salary
num hrsWorked
num SIZE = 7
num totalGross[SIZE] = 0
“Accounting”, “Shipping”
getReady()
detailLoop()
endwhile
finishUp()
stop
getReady()
hours worked”
return
detailLoop()
totalGross[deptNum-1] = totalGross[deptNum-1] +
(hrsWorked * salary)
else
endif
hours worked”
return
finishUp()
deptNum = 0
deptNum = deptNum + 1
endwhile
return