Answer:
Number of boys = 12
Explanation:
Let the total number of children in the class be x
Number of girls = 18
Number of boys = x - 18
Ratio of girls and boys = 3 : 2
Sum of the ratio = 5
Find the value of x

Therefore, total number of children in the class = 30
Hence number of boys = x - 18 = 30 - 18 = 12