Get the best answers to your questions with the help of IDNLearn.com's experts. Find the solutions you need quickly and accurately with help from our knowledgeable community.
Sagot :
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)
We appreciate every question and answer you provide. Keep engaging and finding the best solutions. This community is the perfect place to learn and grow together. Discover the answers you need at IDNLearn.com. Thanks for visiting, and come back soon for more valuable insights.