mirror of
https://github.com/reiyua/ICTPRG302CodingHomework.git
synced 2026-11-17 06:22:10 +11:00
Update computeNetPay.py
This commit is contained in:
parent
2ac2574900
commit
f7044dadb5
1 changed files with 4 additions and 1 deletions
|
|
@ -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.
|
||||
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:
|
||||
daycost = 25
|
||||
elif dogsize >10 and stay > 10:
|
||||
daycost = 22
|
||||
daycost = 22
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue