document.write( "Question 320204: A student makes a $10.50 purchase at the bookstore with a $20.00 dollar bill. The store has no bills and gives change in quaters and fifty-cent pieces. There are 30 coins in all, how many of each are there? \n" ); document.write( "
Algebra.Com's Answer #229328 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
The change is $9.50.
\n" ); document.write( "\"30\" fifty-cent pieces adds up to \"15\" dollars
\n" ); document.write( "\"15\" fifty-cent pieces adds up to \"7.5\" dollars, and
\n" ); document.write( "if the rest is quarters, that is \"15%2A25+=+3.75\", and
\n" ); document.write( "\"7.5+%2B+3.75+=+11.25\" that's too much
\n" ); document.write( "--------------------------------
\n" ); document.write( "\"10\" fifty-cent pieces adds up to \"5\" dollars
\n" ); document.write( "and \"20%2A25+=+5\" dollars and \"5+%2B+5+=+10\" That's \"50\" cents over
\n" ); document.write( "--------------------------------
\n" ); document.write( "\"9\" fifty cent pieces adds up to \"4.5\" dollars
\n" ); document.write( "and \"21%2A25+=+5.25\" dollars \"4.5+%2B+5.25+=+9.75\" That's \"25\" cents over
\n" ); document.write( "--------------------------------
\n" ); document.write( "\"8\" fifty cent pieces = \"4\" dollars
\n" ); document.write( "\"22%2A25+=+5.5\" dollars and \"4+%2B+5.5+=+9.5\" this is the answer
\n" ); document.write( "--------------------------------
\n" ); document.write( "The change is 8 fifty-cent piece and 22 quarters
\n" ); document.write( "
\n" );