Get expert advice and community support for your questions on IDNLearn.com. Get accurate and comprehensive answers from our network of experienced professionals.
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)
Your participation is crucial to us. Keep sharing your knowledge and experiences. Let's create a learning environment that is both enjoyable and beneficial. Thank you for trusting IDNLearn.com with your questions. Visit us again for clear, concise, and accurate answers.