Answer:
Answered below
Explanation:
#Answer is written in Python programming language
hrs = int(input("Enter hours worked for the week: "))
dep = int(input ("Enter number of dependants: "))
pay = 16.78
ovpay = pay * 1.5
if hrs <= 40:
wage = hrs * pay
else:
wage = hrs * ovpay
ss = wage * 0.06
fedtax = wage * 0.14
statetax = wage * 0.05
dues = 10
if dep >= 3:
ins = 35
net_pay = wage - ss - fedtax - statetax - dues - ins
print(wage)
print ( ss, fedtax, statetax, dues, ins)
print (net_pay)