document.write( "Question 24339: Max buys some pens and pencils. He buys 7 more pens then pencils. Pens cost $0.45 each and pencils cost $0.40 each. If he has $10 to spend, what is the greatest amount of each can he buy? \n" ); document.write( "
Algebra.Com's Answer #12928 by Paul(988)\"\" \"About 
You can put this solution on YOUR website!
Pencils = x
\n" ); document.write( "Pens = 7+x\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "0.45(7+x)+0.40(x)=10
\n" ); document.write( "3.15+.45x+0.4x=10
\n" ); document.write( "0.85x=6.85
\n" ); document.write( "x=8 (rounded)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "7+8=15\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Hence he can buy 15 pens and 8 pencils.
\n" ); document.write( "Paul.
\n" ); document.write( "
\n" );