Answer to Question #183287 in Algorithms for Zandile

Question #183287

Use the following problem to provide an explanation of how you will use this problem to teach learners the steps of problem solving in Information Technology. Your answer must include the complete solution (algorithm) of the problem, but the computer code is not necessary. A company determines its employees’ weekly salaries by using the number of hours the employee worked during the week and rate per hour. If the employee worked more than 45 hours, he/she is paid at double his/her hourly rate for each hour in excess of 45 hours. The employee’s identity number, the number of hours worked per week by the employee and rate per hour are captured. The desired output is a salary slip that will indicate all details of the employee as well as the salary earned by the employee once 25% has been deducted for income tax purposes.


1
Expert's answer
2021-04-20T16:21:20-0400
start 
enter employee detail
rate per hour x
total number of worked hour y
if work hour per week <45
  then total salaray= x*y
else total salary=(45)*x+(y-45)*(2x)
tax payed= total salary* 25/100
final salary = total salary - tax payed
end.

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
APPROVED BY CLIENTS