having received his weekly allowance , john spent 3 / 5 of his allowance at the arcade . the next day he spent one third of his remaining allowance at the toy store , and then spent his last $ 0.90 at the candy store . what is john ’ s weekly allowance ?
"total allowance = x amount spent at the arcade = 3 / 5 x amount remaining = 2 / 5 x amount spent at the toy store = 2 / 5 * 1 / 3 x = 2 / 15 x amount remaining = 2 / 5 x - 2 / 15 x = 4 / 15 x now , 4 / 15 x = $ 0.9 therefore , x = $ 3.40 . answer c"
divide(0.90, subtract(const_1, add(divide(3, 5), multiply(divide(const_1, 3), subtract(const_1, divide(3, 5))))))