Question

Problem : Overtime Pay: Federal law requires that hourly employees be paid “time-and-a-half” for work in...

Problem : Overtime Pay: Federal law requires that hourly employees be paid “time-and-a-half” for work in excess of 40 hours a week. For example, if a person’s hourly wage is $15 and he or she works 60 hours in a week, the person’s grow pay should be (40 * 15) + 1.5 * 15 * (60 – 40)) = $1050 Enter the hourly wage: 12.50 Enter the number of hours worked: 47 The gross pay for the week is $631.25

0 0
Add a comment Improve this question Transcribed image text
Answer #1
#Code.py
rate = float(input("Enter the hourly wage: "))
hours = float(input("Enter the number of hours worked: "))
pay = 0
if hours > 40:
    pay = (40 * rate) + ((hours - 40) * 1.5 * rate)
else:
    pay = hours * rate
print("The gross pay for the week is $"+str(pay))

Enter the hourly wage: 12.50
Enter the number of hours worked: 47
The gross pay for the week is $631.25

Add a comment
Know the answer?
Add Answer to:
Problem : Overtime Pay: Federal law requires that hourly employees be paid “time-and-a-half” for work in...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Program using  Python Q#1 Cost of Bagels: A bagel shop charges 8C cents per bagel for orders...

    Program using  Python Q#1 Cost of Bagels: A bagel shop charges 8C cents per bagel for orders of less than a half-dozen bagels and 60 cents per bagel for orders of a half-dozen or more. Write a program that requests the number of bagels ordered and displays the total cost. How many bagels are ordered: 12 The cost of 12 bagels is $7.20. Q#2 Overtime Pay. Federal law requires that hourly employees be paid "time-and-a-half" for work in excess of 40...

  • An hourly employee is paid $30/hour for a 40 hour week. Overtime is paid at time-and-a-half...

    An hourly employee is paid $30/hour for a 40 hour week. Overtime is paid at time-and-a-half for hours worked in excess of 40 hours. In the prior week, the employee worked 48 hours. Federal income taxes of $250 were withheld, and state income taxes of $40 were withheld. FICA taxes of 6.2% (Social Security) and 1.45% (Medicare) were also withheld. What is the weekly gross pay amount or this employee? What is the weekly net pay amount for this employee?

  • Python)) A copy center charges 5 cents per copy for the first 100 copies and 3...

    Python)) A copy center charges 5 cents per copy for the first 100 copies and 3 cents per copy for each additional copy. Write a program that requests the number of copies as input and display the total cost. Federal law requires that hourly employees be paid “Time and a half” for work in excess of 40 hours in a week. For example, if a person’s hourly wage is $ 12 and he/ she works 60 hours in a week,...

  • Thomas Martin receives an hourly wage rate of $15, with time and a half for all...

    Thomas Martin receives an hourly wage rate of $15, with time and a half for all hours worked in excess of 40 hours during a week. Payroll data for the current week are as follows: hours worked, 42; federal income tax withheld, $349; social security tax rate, 6.0%; and Medicare tax rate, 1.5%. What is the gross pay for Martin? a. $945 Ob. $630 c. $645 Od. $1,260

  • An employee receives an hourly wage rate of $18, with time and a half for all...

    An employee receives an hourly wage rate of $18, with time and a half for all hours worked in excess of 40 hours during a week. Payroll data for the current week are as follows: hours worked, 45; federal income tax withheld, $304; social security tax rate, 6.0%; and Medicare tax rate, 1.5% on all earnings. What is the gross pay for the employee? Select the correct answer. $810 $1,215 $1,620 $855

  • An employee receives an hourly wage rate of $19, with time and a half for all...

    An employee receives an hourly wage rate of $19, with time and a half for all hours worked in excess of 40 hours during a week. Payroll data for the current week are as follows: hours worked, 43; federal income tax withheld, $324; social security tax rate, 6.0%; and Medicare tax rate, 1.5% on all earnings. What is the gross pay for the employee? Select the correct answer. $846 $1,226 $817 $1,634

  • COMPUTING OVERTIME RATE OF PAY AND GROSS WEEKLY PAY Mike Fritz receives a regular salary of...

    COMPUTING OVERTIME RATE OF PAY AND GROSS WEEKLY PAY Mike Fritz receives a regular salary of $3,250 a month and is paid 1½ times the regular hourly rate for hours worked in excess of 40 week. per (a) Calculate Fritz's overtime rate of pay. (Compute to the nearest half cent.) (b) Calculate Fritz's total gross weekly pay if he works 46 hours during the week.

  • Calculate gross pay for each of the following employees. All are paid an overtime wage rate...

    Calculate gross pay for each of the following employees. All are paid an overtime wage rate that is 1.5 times their respective regular wage rates. NOTE: For simplicity, all calculations throughout this exercise, both intermediate and final, should be rounded to two decimal places at each calculation. 1:Jefferson Dodge earns $8.50/hour. During the most recent week, he receives a discretionary bonus of $1,000 and works 47 hours. Gross Pay: $ 2:Julia Jones earns $12.00/hour. During the most recent week, she...

  • PROBLEM 2 Elder is paid a monthly salary of $2,250. Overtime is paid for hours beyond...

    PROBLEM 2 Elder is paid a monthly salary of $2,250. Overtime is paid for hours beyond 40 in each workweek. One week, Elder works 7 hours overtime. Elder’s gross pay for the week is PROBLEM 3 Ides receives 16 cents for every unit produced. Ides produces 2,976 pieces in a 43-hour workweek. For overtime, Ides is paid a sum equal to one-half the regular hourly pay rate multiplied by the number of overtime hours. Ides’ total piecework and overtime earnings...

  • Calculate Payroll Breakin Away Company has three employees—a consultant, a computer programmer, and an administrator. The...

    Calculate Payroll Breakin Away Company has three employees—a consultant, a computer programmer, and an administrator. The following payroll information is available for each employee: Consultant Computer Programmer Administrator Regular earnings rate $4,000 per week $60 per hour $50 per hour Overtime earnings rate* Not applicable 1.5 times hourly rate 2 times hourly rate Number of withholding allowances 2 1 2 *For hourly employees, overtime is paid for hours worked in excess of 40 hours per week. For the current pay...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT