document.write( "Question 836654: You've been asked to buy 100 Balls, using 100 dollars to do so. You may buy no more or less than 100 Balls, and the total price must be exactly 100 dollars. There is no sales tax. Red Ball cost $6.00. Yellow Ball cost $3.00. Blue Ball cost $0.10. How many of each must you buy? \n" ); document.write( "
Algebra.Com's Answer #504306 by richard1234(7193)\"\" \"About 
You can put this solution on YOUR website!
You need to buy a multiple of 10 blue balls, since the total is a whole dollar amount. Every 10 balls costs $1.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Also, the cost of the red and yellow balls is a multiple of 3 dollars. Since , we need to buy either 10, 40, or 70 blue balls.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The average cost/ball is $1, so we'll probably be buying lots of blue balls. Suppose we buy 70 blue balls for $7. Then we have $93 to buy 30 balls, which occurs when we buy 29 yellow balls and 1 red ball. Therefore we buy 70 blue balls, 29 yellow balls, and one red ball.
\n" ); document.write( "
\n" );