Peter purchased 20 popsicles at $0.25 each. He also purchased 4 ice cream bars at $0.50 each. How much did he pay in total in dollars?
The popsicles cost 0.25*20=
<gadget id="calculator">0.25*20</gadget>
<output>5</output>
5 dollars.
The ice cream bars cost 0.5*4=
<gadget id="calculator">0.5*4</gadget>
<output>2</output>
2 dollars.
He paid 5+2=
<gadget id="calculator">5+2</gadget>
<output>7</output>
7 dollars.

<result>7</result>