Randy has $30. He spent $10 buying his lunch. He spent a quarter of the money he had left on an ice cream cone. What is the amount of money, in dollars, Randy has left?
Randy has 30-10=
<gadget id="calculator">30-10</gadget>
<output>20</output>
20 dollars left after buying lunch.
Randy spent 20/4=
<gadget id="calculator">20/4</gadget>
<output>5</output>
5 dollars on the ice cream cone.
Randy has 20-5=
<gadget id="calculator">20-5</gadget>
<output>15</output>
15 dollars left.

<result>15</result>