A class has 12 boys and 18 girls. What fraction of the class are boys?

Answer: 
2/5
A class has 12 boys and 18 girls. What fraction of the class are boys?