Update computeNetPay.py
This commit is contained in:
parent
2ac2574900
commit
f7044dadb5
|
@ -1,3 +1,6 @@
|
||||||
|
# Copyright 2022, Rayyan Hodges, TAFE NSW
|
||||||
|
# rayyan.hodges@studytafensw.edu.au
|
||||||
|
|
||||||
#Detemrining user's hourly pay rate, number of hours worked, gross pay, withoholding tax percentage, witholding tax and net pay.
|
#Detemrining user's hourly pay rate, number of hours worked, gross pay, withoholding tax percentage, witholding tax and net pay.
|
||||||
hourlypayrate=int(input("Please enter your hourly pay rate: "))
|
hourlypayrate=int(input("Please enter your hourly pay rate: "))
|
||||||
|
|
||||||
|
@ -16,4 +19,4 @@ elif dogsize >= 3 and dogsize <= 10 and stay > 10:
|
||||||
elif dogsize > 10 and stay < 11:
|
elif dogsize > 10 and stay < 11:
|
||||||
daycost = 25
|
daycost = 25
|
||||||
elif dogsize >10 and stay > 10:
|
elif dogsize >10 and stay > 10:
|
||||||
daycost = 22
|
daycost = 22
|
||||||
|
|
Loading…
Reference in New Issue