Caleb bought 10 cartons of ice cream and 4 cartons of frozen yoghurt. Each carton of ice cream cost $4 and each carton of frozen yoghurt cost $1. How much more did Caleb spend on ice cream than on frozen yoghurt?
The cost of the ice cream is 10 * $4 = $
<gadget id="calculator">10*4</gadget>
<output>40</output>
40.
The cost of the frozen yoghurt is 4 * $1 = $
<gadget id="calculator">4*1</gadget>
<output>4</output>
4.
Caleb spent $40 - $4 = $36 more on ice cream than on frozen yogurt.

<result>36</result>