Question: Challenge: Annual Wage Calculator Description: Write a Python 3 program called wage _ calculator.py that accepts user input from the keyboard for the hours worked
Challenge: Annual Wage Calculator
Description: Write a Python program called wagecalculator.py that accepts user input from the keyboard for the hours worked and hourly wage. The program calculates the total wages for
the year, assuming the person works days per year and taxes are deducted from the wages.
Purpose: Provide experience with writing an interactive Python program that accepts input, performs a calculation, then displays the result as output.
Requirements:
Your program needs to:
Ask the user to input from the keyboard for two inputs, one is the hours worked daily and the other is the hourly wage. Multiplying hours worked daily and hourly wage will give you the
wages earned in a day.
The two input numbers are not necessarily integers. For example, the user can enter values like for hours worked or for hourly wage.
Calculate the yearly wage given the two inputs
Note that the working hours is daily. Assume the user works days per year and the same amount of hours every day.
It would help to first write down the mathematical formula needed to calculate the yearly wage
will be deducted from yearly earnings for taxes
Print the a Pay Advice containing:
hours worked
hourly wage
wages before taxes
tax amount
annual wages after taxes
money values should be printed with a $ sign and all numbers should be rounded to decimal places
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
