document.write( "Question 672345: There are 840 pupils in a school. The ratio of boys to girls in school is 5:7. Calculate the number of boys. \n" ); document.write( "
Algebra.Com's Answer #417932 by checkley79(3341)\"\" \"About 
You can put this solution on YOUR website!
5+7=12 TOTAL ELEMENTS
\n" ); document.write( "840/12=70 PER ELEMENT.
\n" ); document.write( "5*70=350 BOYS
\n" ); document.write( "7*70=490 GIRLS.\r
\n" ); document.write( "\n" ); document.write( "PROOF:
\n" ); document.write( "350+490=840
\n" ); document.write( "
\n" );