Answer to Question #288214 in Python for h2zee

Question #288214

A mother is entitled to € 25.00 child allowance per child. She will receive a supplement of €12.50 for the third child (and each subsequent child). For the fifth (and each subsequent) child, she will receive an additional allowance of €7.50. If the mother's monthly wage is less than or equal to €500.00, she will receive a 25% surcharge on the child benefit. But if her monthly wage is greater than €2000.00, she will receive 25% less child benefit. A mother is always entitled to a minimum of €25.00 per child. Question: Read in the number of children and monthly wages, and show the child benefit to which the mother is entitled. (For example, 6 children and € 500.00 monthly wage give € 215.00 child benefit).


1
Expert's answer
2022-01-17T12:58:00-0500
print("Enter value of money for 6 kid: ")
child1 = int(input())
child2 = int(input())
child3 = int(input())
child4= int(input())
child5= int(input())
child6= int(input())
sum = child2 + child1 + child3 + child4 + child5 + child6
avg = sum/6
perc = (sum/500)*100

print(end="Average money = ")
print(avg)
print(end="Percentage of money = ")
print(perc)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS