Write algorithm that determines if the employee has to be paid of overtime pay (or). They will be paid an OT if they exceed 40 hours work in a week, regular pay (RP) if less than or equal to 40 hours only. Display "OT Pay" or " RP Pay", based on the entered number of hours a week
1
Expert's answer
2021-10-08T00:22:37-0400
Start
Declare variable numberHoursWeek as integer
Read numberHoursWeek
if numberHoursWeek<40 then
Display "RP Pay"
else
Display "OT Pay"
end if
Stop
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment