From the present question, it was given the number of girls and boys from a class. It is 16 and 6, respectively.
The ratio of boys and girls is given by:
We can perform the calculation as follows:
From the present solution, we conclude that the ratio of boys to girls in the class is 0.375