document.write( "Question 430866: John bought a radio for $120. He paid his bill with two dollar bills and five dollar bills. If there were 30 bills in all how many of each were there? \n" ); document.write( "
Algebra.Com's Answer #299156 by Gogonati(855)\"\" \"About 
You can put this solution on YOUR website!
Solution:Let x the number of $5 bills, then 30-x is the number of $2 bills\r
\n" ); document.write( "\n" ); document.write( "Since he spend $120 we write: \"5x%2B2%2830-x%29=120\", solve the equation.\r
\n" ); document.write( "\n" ); document.write( "5x-2x=120-60 => 3x=60 => x=20.\r
\n" ); document.write( "\n" ); document.write( "Answer:John bought the radio with 20, $5 bills and 30-20=10, $2 bills.\r
\n" ); document.write( "\n" ); document.write( "Check: 20X5+10X2=100+20=120.\r
\n" ); document.write( "\n" ); document.write( "Done.
\n" ); document.write( "
\n" );