document.write( "Question 435785: The cost of 30 onions is d dollars. At this rate, how many onions can you buy for 80 cents? \n" ); document.write( "
Algebra.Com's Answer #301580 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
There are \"+100d+\" cents in \"+d+\" dollars,
\n" ); document.write( "so the rate for onions is \"+30%2F%28100d%29+=+.3%2Fd+\" onions/cent
\n" ); document.write( "\"+.3%2Fd+\" onions/cent x \"+80+\" cents = \"24%2Fd\" onions
\n" ); document.write( "
\n" ); document.write( "
\n" );