mary works in a restaurant a maximum of 70 hours . for the first 20 hours , she is paid $ 8 per hour . for each overtime hour , she is paid at a rate which is 25 % higher than her regular rate . how much mary can earn in a week ?
"mary receives $ 8 ( 20 ) = $ 160 for the first 20 hours . for the 50 overtime hours , she receives $ 8 ( 0.25 ) + $ 8 = $ 10 per hour , that is $ 50 ( 20 ) = $ 500 . the total amount is $ 160 + $ 500 = $ 660 answer c 660 ."
add(multiply(70, 8), multiply(subtract(70, 20), multiply(8, divide(25, const_100))))