document.write( "Question 131307: Sandy held a garage sale during which she charged a dime for everything, but accepted a nickel if the buyer bargained well. At the end of the day she realized she had sold all 12 items and raked in a grand total of 95 cents. She had only dimes and nickels. How many of each did she have? \n" ); document.write( "
Algebra.Com's Answer #95838 by solver91311(24713)\"\" \"About 
You can put this solution on YOUR website!
Number of nickels: n
\n" ); document.write( "Number of dimes: d
\n" ); document.write( "Total number of coins: 12, so \"n%2Bd=12\", in other words, \"n=12-d\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Total value of n nickels is 5n cents.
\n" ); document.write( "Total value of d dimes is 10d cents.
\n" ); document.write( "Total money collected is \"5n+%2B+10d=95\", but since \"n=12-d\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"5%2812-d%29%2B10d=95\"
\n" ); document.write( "\"60-5d%2B10d=95\"
\n" ); document.write( "\"5d=35\"
\n" ); document.write( "\"d=7\" and \"n=12-7=5\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Check:
\n" ); document.write( "7 dimes is worth 70 cents
\n" ); document.write( "5 nickels is worth 25 cents
\n" ); document.write( "70 plus 25 is 95. Answer checks.
\n" ); document.write( "
\n" );