document.write( "Question 1012430: Eli has a lot of loose change in his pocket, but only dimes and quarters. He counts his money and determines that he has $6.45. if he has 39 coins in total, how many of each does he have?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #628359 by fractalier(6550)\"\" \"About 
You can put this solution on YOUR website!
Call the number of dimes and quarters, d and q. Then we have
\n" ); document.write( "d + q = 39 and the value equation is
\n" ); document.write( "10d + 25q = 645 (we work in cents)
\n" ); document.write( "Now multiply the top one by 10 and subtract from the second...
\n" ); document.write( "10d + 25q = 645
\n" ); document.write( "-(10d + 10q = 390)
\n" ); document.write( "----------------------
\n" ); document.write( "15q = 255
\n" ); document.write( "q = 17 quarters
\n" ); document.write( "and then we have
\n" ); document.write( "d = 39 - q = 22 dimes
\n" ); document.write( "
\n" );