document.write( "Question 193130: On the first day of school, the percentage of boys in a particular class is 60%. During the school year, six girls move away, and are replaced in the class by six boys; this makes the class roster 75% boys. Find the number of boys and girls in the class on the first day of school. \n" ); document.write( "
Algebra.Com's Answer #144976 by Mathtut(3670)\"\" \"About 
You can put this solution on YOUR website!
if c = total number in the class
\n" ); document.write( ":
\n" ); document.write( "g=the number of girls
\n" ); document.write( ":
\n" ); document.write( "g=.4c.....eq 1
\n" ); document.write( ":
\n" ); document.write( "g-6=.25c..eq 2
\n" ); document.write( ":
\n" ); document.write( ".4c-6=.25c
\n" ); document.write( ":
\n" ); document.write( ".15c=6
\n" ); document.write( ":
\n" ); document.write( "c=40
\n" ); document.write( ":
\n" ); document.write( "g=.4c----->g=16 girls
\n" ); document.write( ":
\n" ); document.write( "b=.6c---->b=24 boys
\n" ); document.write( "
\n" );