According to the ratio $$3:2$$, we could know the total is $$5$$. Then the number of boys is $$30\times \dfrac{3}{5} =18$$.The number of girls is $$30\times\dfrac{2}{5}=12$$. 
There are $$30$$ students in your class. The ratio of boys to girls is $$3:2$$. How many boys and girls are there?. 
A) $$30$$ and $$20$$ 
B) $$20$$ and $$30$$ 
C) $$18$$ and $$12$$ 
D) $$12$$ and $$18$$ 