A movie ticket costs $5. The cost of the popcorn is 80% of the cost of the ticket and a can of soda costs 50% of the cost of the popcorn. A family bought 4 tickets, 2 sets of popcorn, and 4 cans of soda. How much did they spend?
The cost of the popcorn is $5 x 80/100 = $
<gadget id="calculator">5*80/100</gadget>
<output>4</output>
4.
The cost of a can of soda is $4 x 50/100 = $
<gadget id="calculator">4*50/100</gadget>
<output>2</output>
2.
The cost of 4 tickets is $5 x 4 = $
<gadget id="calculator">5*4</gadget>
<output>20</output>
20.
The cost of 2 sets of popcorn is $4 x 2 = $
<gadget id="calculator">4*2</gadget>
<output>8</output>
8.
The cost of 4 cans of soda is $2 x 4 = $
<gadget id="calculator">2*4</gadget>
<output>8</output>
8.
Therefore, the family paid a total of $20 + $8 + $8 = $
<gadget id="calculator">20+8+8</gadget>
<output>36</output>
36.

<result>36</result>