Question: using python Write a function that implements the following formula to calculate the amount of financial assistance for families in need: If the annual family
using python Write a function that implements the following formula to calculate the amount of financial
assistance for families in need:
If the annual family income is between $
and $
and the family has at least
children, the assistance amount will be $
per child.
If the annual family income is between $
and $
and the family has at least
children, the assistance amount will be $
per child.
If the annual family income is less than $
the assistance amount will be $
per
child.
Write a program that asks for the family income and the number of children, then print the
amount of assistance that your function returns. Use
as a sentinel value for the input.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
