document.write( "Question 401145: The ratio of boys to girls in the class was 4:5. There were 24 people in the class. How many boys? How many girls? \n" ); document.write( "
Algebra.Com's Answer #283849 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
The ratio of boys to girls in the class was 4:5. There were 24 people in the class. How many boys? How many girls?
\n" ); document.write( "-------
\n" ); document.write( "4:5 is the same as 4x:5x where 4x is # of boys and 5x is # of girls.
\n" ); document.write( "----
\n" ); document.write( "Equation:
\n" ); document.write( "4x+5x = 24
\n" ); document.write( "9x = 24
\n" ); document.write( "x = 24/9
\n" ); document.write( "---
\n" ); document.write( "4x = 96/9
\n" ); document.write( "5x = 120/9
\n" ); document.write( "-----
\n" ); document.write( "Comment: Neither of those numbers is a whole number.
\n" ); document.write( "Either the ratio or the total in the class is incorrect.
\n" ); document.write( "===============
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "
\n" );