Computer Science, asked by Littled58, 4 days ago

can someone provide a python payroll program.​

Answers

Answered by XxANKUxX
0

def main():

hours,rate=get_user_input()

regularhours,overtimehours=calculate_hours(hours)

regularpay,overtimepay,totalpay=calculate_pay(regularhour,overtimehours,rate)

#printing results

The calculate_hours functions is like:

def calculate_hours(hours):

if hours<=40:

return hours,0

else:

return 40,hours-40

Answered by pkb032497
1

Answer:

mark me as brainlist if you got the answer

Attachments:
Similar questions