Question

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

Python))

  1. 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.
  2. 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, the person’s gross pay should be:

             (40 * 12) + (1.5 * 12* (60 – 40)) = $840

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer 1:

copies = float(input("Enter number of copies : "))

total=0

if(copies<100):

total=copies*5

else:

total=100*5

total=total+(copies-100)*3

total=total/100

print("Total : $",total)

Answer 2:

h = float(input("Enter number of hours : "))

total=0

if(h<40):

total=5*12

else:

total=40*12

total=total+(h-40)*18


print("Total : $",total)

Add a comment
Know the answer?
Add Answer to:
Python)) A copy center charges 5 cents per copy for the first 100 copies and 3...
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...

  • 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

  • OEX71-10 Calculate payroll Obj. 2 Breakin Away Company has three employees-a consultant, a computer programmer, and...

    OEX71-10 Calculate payroll Obj. 2 Breakin Away Company has three employees-a consultant, a computer programmer, and an administrator. The following payroll information is available for each employee: Show Consultantc $4,000 per week Not applicable Computer Pregrammer Regular earnings rate Overtime earnings rate Number of withholding allowances $60 per hour 1.5 times hourly rate 550 per hour 2 times hourly rate or hourly employees overtime is paid for hours worked in excess of 40 hours per week. For the current pay...

  • 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...

  • 3. Anmol An employee earns $40 per hour and 1.5 times that rate for all hours...

    3. Anmol An employee earns $40 per hour and 1.5 times that rate for all hours in excess of 40 hours per week. Assume that the employee worked 60 hours during the week, and that the gross pay prior to the current week totaled 558,000. Assume further that the social security tax rate was 7.0% (on earnings up to $100,000), the Medicare tax rate was 1.5%, and the federal income tax to be withheld was $614. Required: (1) Determine the...

  • EXHIBIT 2 Table for Percentage Method of Withholding WEEKLY Payroll Period Wage Bracket Withholding Table (a)...

    EXHIBIT 2 Table for Percentage Method of Withholding WEEKLY Payroll Period Wage Bracket Withholding Table (a) SINGLE person (including head of household)- If the amount of wages (after subtracting withholding allowances) The amount of income tax IS: Not over $43 Over- But not over- to withhold is: of excess over_ $43 $222 $767 $1,796 $3,700 $7,992 $8,025 $43 $222 . . $0.00 plus 10% -$767 . . $17.90 plus 15% $222 $767-$1,796 . . $99.65 plus 25% McGrath wage bracket...

  • alculate Payroll Consultant Administrator $48 per hour 2 times hourly rate 1 Breakin Away Company has...

    alculate Payroll Consultant Administrator $48 per hour 2 times hourly rate 1 Breakin Away Company has three employees-a consultant, a computer programmer, and an administrator. The following payroll information is available for each employee: Computer Programmer Regular earnings rate $2,210 per week $30 per hour Overtime earnings rate Not applicable 1.5 times hourly rate Number of withholding allowances 3 2 For the current pay period, the computer programmer worked 60 hours and the administrator worked 50 hours. The federal income...

  • (JAVA Please) Program 1: FICA!? What’s FICA? If you’re taking this course, chances are that you’re...

    (JAVA Please) Program 1: FICA!? What’s FICA? If you’re taking this course, chances are that you’re going to make a pretty good salary – especially 3 to 5 years after you graduate. When you look at your paycheck, one of the taxes you pay is called FICA – or Federal Insurance Contributions Act. In simplest terms, it’s what funds our Social Security and Medicare systems (and the more that you work, the more you get). Interestingly, your employer will pay...

  • Note: In this chapter and in all succeeding work throughout the course, unless instructed otherwise, calculate...

    Note: In this chapter and in all succeeding work throughout the course, unless instructed otherwise, calculate hourly rates and overtime rates as follows: 1. Carry the hourly rate and the overtime rate to 3 decimal places and then round off to 2 decimal places (round the hourly rate to 2 decimal places before multiplying by one and one-half to determine the overtime rate). 2. If the third decimal place is 5 or more, round to the next higher cent. 3....

  • Note: In this chapter and in all succeeding work throughout the course, unless instructed otherwise, calculate...

    Note: In this chapter and in all succeeding work throughout the course, unless instructed otherwise, calculate hourly rates and overtime rates as follows: 1. Carry the hourly rate and the overtime rate to 3 decimal places and then round off to 2 decimal places (round the hourly rate to 2 decimal places before multiplying by one and one-half to determine the overtime rate). 2. If the third decimal place is 5 or more, round to the next higher cent. 3....

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