# There are 20 girls and 15 boys in a class.(a) What is the ratio of number of girls to the number of boys?(b) What is the ratio of number of girls to the total number of students in the class?

#### 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:

There are 20 girls and 15 boys in a class.

To do:

We have to find:

(a) The ratio of the number of girls to the number of boys.

(b) The ratio of number of girls to the total number of students in the class.

Solution:

Number of girls in the class$=20$

Number of boys in the class$=15$

Therefore,

The total number of students in the class$=20+15$

$=35$

(a) The ratio of the number of girls to the number of boys $=\frac{20}{15}$

$=\frac{4}{3}$

The ratio of the number of girls to the number of boys is $4:3$.

(b) The ratio of the number of girls to the total number of students in the class $=\frac{20}{35}$

$=\frac{4}{7}$

The ratio of the number of girls to the total number of students in the class is $4:7$.

Updated on 10-Oct-2022 13:36:46