Workers of Maunlad corp. have a regular working hours of 40 hours per week and
are paid with an hourly rate of P150 per hour. However, if a worker rendered more
than 40 hours in a week the excess hours are paid 75% more. Write a program that
inputs the number of hours rendered by a worker in 1 week then display his/her
salary.
input1 = int(input('Enter no hours per week: '))
if input1 > 40:
n1 = input1-40
print((40*150) + n1*1.75*150)
else:
print(40*150)
Comments
Leave a comment