Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
My code needs to have the following elements: calculate the weekly average tax withholding for a customer, given the following weekly income guidelines: Income less than $500: tax rate 10%; Incomes greater than/equal to $500 and less than $1500: tax rate 15%; Incomes greater than/equal to $1500 and less than $2500: tax rate 20%; Incomes greater than/equal to $2500: tax rate 30%. Store the income brackets and rates in a dictionary. Need a loop that prompts the user for an income, looks up the tax rate from the dictionary, and ***prints the income, tax rate, and tax***. The loop runs indefinitely until the user enters a loop termination sentinel. My code works correctly EXCEPT it does not print the "tax rate"(%) as required
def tax(income):
di={0:10,1:15,2:20,3:30}
total_tax=0
if(income<500):
total_tax=di[0]*income
elif(income<1500 and income >=500):
total_tax=di[1]*income
elif(income<2500 and income >=1500):
total_tax=di[2]*income
else:
total_tax=di[3]*income
return total_tax
print("Enter income to calculate tax.")
n=int(input('Enter income :'))
while(n!=-1):
print("Calculated tax is : ","%.2f"%tax(n))
print('Bye')
Prepare a Flexible Budget Gator Divers is a company that provides diving services such as underwater ship repairs to clients in the Tampa Bay area.
This assignment has two question related to maths. Questions are related to bifurcation cascade and logistic map.
This assignment has questions related to probabiltiy.
Find all the xed points, and study their stability and Draw the phase portrait of the system, as well as the graphs of the solutions in all relevant cases.
Derive the Boolean Expression and construct the switching circuit for the truth table stated
Evaluate which equations are under-identified, just-identified, and over-identified.
Linear programming problem consisting of only two constraints with one objective function.
Find the natural domain of the given functions.
Compute the coecients of the polynomials using the term recurrence relation.
De?nition of smoothness of functions on a smooth manifold is chart independent and hence geometric.
Questions related on mathematics in computing.
Complex problems
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd