To make a shed in his backyard, Tom needs 1000 bricks. He can buy half of the bricks for 50% off of $.50. The other Half he needs to pay full price. How many dollars does Tom spend?
Tom can buy 1000/2=<T>divide(1000, 2)=500.0 for half price.
He will spend $.50/2= $<T>divide(0.5, 2)=0.25 on the half-priced bricks.
Thus, he will spend 500*$.25=$<T>multiply(500, 0.25)=125.0 on the half-priced bricks.
He will spend 500*$.50=$<T>multiply(500, 0.5)=250.0 on the full-priced bricks.
Thus, he will spend $125+$250=$<T>add(125, 250)=375 total.
