Question: Description This problem is based on the yearly wage problem in Homework 2 . The solution to Homework 2 can be downloaded here: Homework 0
Description
This problem is based on the yearly wage problem in Homework The solution to Homework can be downloaded here: Homeworkzip darr will
be downloadable from Monday,
Rewrite the program to give the user times the hourly pay for hours worked above hours daily and let the user they are being compensated for
working overtime. Specifically,
if the daily work hours is less than or equal to calculate the yearly wage as in Homework ;
Example: Given hours and $ per hour, the yearly wage would be
if the daily work hours is greater than the hourly wage for the above hours part should be doubled and print an extra message "You will be
compensated for working overtime."
Example: Given hours and $ per hour, the yearly wage would be
Name your file
yearlywagepy
Assume the user inputs are nonnegative.
Examples Ignore the filename in the example screenshots. Still name your file
yearlywagepy
Example : hours is not overtime.Enter the number of hours worked daily:
Enter the hourly wage:
Yearly wage Example : hours is overtime.
In python please!
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
