Help with python coding problem please. using these function headers: Main() GrossPayCalculation (hours, rate) TaxCalcul
Posted: Sun May 15, 2022 12:57 pm
Help with python coding problem please.
using these function headers:
Main()
GrossPayCalculation (hours, rate)
TaxCalculation (annual_pay)
I need to write a program using the above function headers that asks the user to input the number of hours worked in a week and then calls GrossPayCalculation. After this, the main problem needs to convert the weekly pay to annual pay by multiplying by 52. Then, it needs to call the second function TaxCalculation. After that, the main program will convert to a weekly tax by dividing the annual tax by 52.
heres the sample
sample:
enter number of hours worked: 40
enter your hourly wage: 24.04
You owe $129.79 on a weekly salary of $961.60
At this rate your annual tax will be $6,749.20 and your annual salary
will be $50,003.20
using these function headers:
Main()
GrossPayCalculation (hours, rate)
TaxCalculation (annual_pay)
I need to write a program using the above function headers that asks the user to input the number of hours worked in a week and then calls GrossPayCalculation. After this, the main problem needs to convert the weekly pay to annual pay by multiplying by 52. Then, it needs to call the second function TaxCalculation. After that, the main program will convert to a weekly tax by dividing the annual tax by 52.
heres the sample
sample:
enter number of hours worked: 40
enter your hourly wage: 24.04
You owe $129.79 on a weekly salary of $961.60
At this rate your annual tax will be $6,749.20 and your annual salary
will be $50,003.20