document.write( "Question 964924: classes A and B have 35 students each. if 7 girls shift from A to B,then the number of girls in classes would interchange. If 4 girls shift from class B to A,then the number of girls in class A would be twice the original number of girls in class B.what is the number of boys in class A and B? \n" ); document.write( "
Algebra.Com's Answer #589711 by tenkun(12)\"\" \"About 
You can put this solution on YOUR website!
let the no of girls in class A= x
\n" ); document.write( "the no of girls in class B= y
\n" ); document.write( "7 girls shifted from A to B
\n" ); document.write( "after shifting in class A= x-7
\n" ); document.write( " in class B= y+7
\n" ); document.write( "given condition is no of girls are interchanged
\n" ); document.write( " so in class A - x-7 = y
\n" ); document.write( " in class B - y+7 = x
\n" ); document.write( " this gives equation x=y+7 ---------(1)
\n" ); document.write( "now after shifting 4 girls from B to A \r
\n" ); document.write( "\n" ); document.write( " in class A = x+4
\n" ); document.write( " in class B =y-4
\n" ); document.write( " given condition is the number of girls in class A would be twice the original number of girls in class B
\n" ); document.write( " x+4= 2*y --------(2)
\n" ); document.write( " substitute (1) in (2)
\n" ); document.write( " y+7+4 = 2*y
\n" ); document.write( " 2*y - y = 11
\n" ); document.write( " y=11
\n" ); document.write( " x= 11+7 =18
\n" ); document.write( " in class A girls = 18
\n" ); document.write( " boys = 35-18=17
\n" ); document.write( " in class B girls = 11
\n" ); document.write( " boys = 35-11=24\r
\n" ); document.write( "\n" ); document.write( " HENCE SOLVED
\n" ); document.write( "
\n" ); document.write( "
\n" );