A jar on the family's counter contains change they've been saving a trip to the ice cream shop. There are 123 pennies, 85 nickels, 35 dimes, and a number of quarters. All five family members get a double scoop, which costs $3 each. After the trip, they have 48 cents left over. How many quarters were in the jar?
The family spent $15 on ice cream because 5 x 3 = 
<gadget id="calculator">5*3</gadget>
<output>15</output>
15.
They total amount of change they had was $15.48 because 15 + .48 = 
<gadget id="calculator">15+.48</gadget>
<output>15.48</output>
15.48.
They have $1.23 in pennies because 123 x .01 = 
<gadget id="calculator">123*.01</gadget>
<output>1.23</output>
1.23.
They have $4.25 in nickels because 85 x .05 = 
<gadget id="calculator">85*.05</gadget>
<output>4.25</output>
4.25.
They have $3.50 in dimes because 35 x .1 = 
<gadget id="calculator">35*.1</gadget>
<output>3.5</output>
3.5.
Without the quarters they have a total of $8.98 because 1.23 + 4.25 + 3.5 = 
<gadget id="calculator">1.23+4.25+3.5</gadget>
<output>8.98</output>
8.98.
They have $6.5 worth of quarters because 15.48-8.98 = 
<gadget id="calculator">15.48-8.98</gadget>
<output>6.5</output>
6.5.
They have 26 quarters because 6.5 / .25 = 
<gadget id="calculator">6.5/.25</gadget>
<output>26</output>
26.

<result>26</result>