you get that percentage as a ratio of boys to total (times 100). So,
12/20 = 0.6
to get percentage, multiply by 100: 0.6*100 = 60%
60% of the students are boys
9.4m questions
12.2m answers