Answer to Question #247899 in Algorithms for Bjoy

Question #247899
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

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS