# The number of boys and girls in a class are in the ratio 7:5. The number of boys is 8 more than the number of girls. Whar is the total class strength?

#### Complete Python Prime Pack

9 Courses     2 eBooks

#### Artificial Intelligence & Machine Learning Prime Pack

6 Courses     1 eBooks

#### Java Prime Pack

9 Courses     2 eBooks

Given:

The number of boys and girls are in the ratio of $7:5$.

The number of boys is 8 more than the number of girls.

To do:

We have to find the total strength of the class.

Solution:

Let the number of boys be $7x$ and the number of girls be $5x$.

According to the question,

$7x = 5x+8$

$7x-5x=8$

$2x=8$

$x=\frac{8}{2}$

$x=4$

Therefore,

The number of boys $= 7x = 7(4) = 28$.

The number of girls $= 5x = 5(4) =20$.

The total strength of the class $= 28+20 = 48$.

Therefore, the total number of students in the class is $48$.

Updated on 10-Oct-2022 13:47:38