Julia has $40. She spends half of her money to buy a new game for her phone. She spends a quarter of what she has left on in-game purchases. How much money does she have left?
Julia spend $40 / 2 = $<T>divide(40, 2)=20.0 on the game.
After buying the game, she has $40 - $20 = $<T>subtract(40, 20)=20 left.
She spent $20 / 4 = $<T>divide(20, 4)=5.0 on in-game purchases.
She has $20 - $5 = $<T>subtract(20, 5)=15 left.
