# This has to be with python programming. I have to determine hoursworked using integer division and determine overtime hours using remainder division. Base hour is 40 and overtime is 1.5 hourly rate. How would I write the equation. Hint: if I plug in 45 hours and 10.50 rate per hour, I am suppose to get \$498.75. How did they come up with that solution?

Question
Asked Sep 15, 2019
1 views

This has to be with python programming. I have to determine hoursworked using integer division and determine overtime hours using remainder division. Base hour is 40 and overtime is 1.5 hourly rate. How would I write the equation. Hint: if I plug in 45 hours and 10.50 rate per hour, I am suppose to get \$498.75. How did they come up with that solution?

check_circle

Step 1

Consider the gross pay or salary as the overtime hourly rate multiplied by the number of extra hours worked along with the regular pay, the hourly rate multiplied by the number of hours worked.

Step 2

Verify the function by substituting the values h =...

### Want to see the full answer?

See Solution

#### Want to see this answer and more?

Solutions are written by subject experts who are available 24/7. Questions are typically answered within 1 hour.*

See Solution
*Response times may vary by subject and question.
Tagged in