Answer: 3 : 1
Explanation:
We know that the ratio of A to B is given by :-
or A : B .
Given : Number of students having brown hair = 15
Number of students having black hair = 5
Then , the ratio of students with brown hair to students with black hair will be :-

Hence, the ratio of students with brown hair to students with black hair = 3 : 1.