Alvin is selling his marble set. He has 100 marbles. 20% are white, 30% are black, and the rest are different colors. He sells the white ones for a nickel each, the black ones for a dime each, and the colors for $0.20 each. How much does he earn?
He has 20 white marbles because 100 x .2 = 
<gadget id="calculator">100*.2</gadget>
<output>20</output>
20.
He has 30 black marbles because 100 x .3 = 
<gadget id="calculator">100*.3</gadget>
<output>30</output>
30.
He has 50 color marbles because 100 - 20 - 30 = 
<gadget id="calculator">100-20-30</gadget>
<output>50</output>
50.
He earns $1 from white marbles because 20 x .05 = 
<gadget id="calculator">20*.05</gadget>
<output>1</output>
1.
He earns $3 from the black marbles because 30 x .1 = 
<gadget id="calculator">30*.1</gadget>
<output>3</output>
3.
He earns $10 from the colors because 50 x .2 = 
<gadget id="calculator">50*.2</gadget>
<output>10</output>
10.
He earns $14 in total because 1 + 3 + 10 = 
<gadget id="calculator">1+3+10</gadget>
<output>14</output>
14.

<result>14</result>