document.write( "Question 975154: 30% of the pupils in a class are boys.There are 21 girls.How many pupils are there in the class inall? \n" ); document.write( "
Algebra.Com's Answer #596955 by rothauserc(4718)\"\" \"About 
You can put this solution on YOUR website!
let x be the total number of students
\n" ); document.write( "we are given that 30% of all students are boys, so 1 - 0.30 = 0.70 and 70% of all students are girls, then
\n" ); document.write( "0.70x = 21
\n" ); document.write( "x = 21 / 0.70 = 30
\n" ); document.write( "there are 30 students in the class
\n" ); document.write( "
\n" ); document.write( "
\n" );