Answer:
There are total 30 students in the class.
Explanation:
Let the total number of students in class = x
Number of males in the class = 12
Number of females in the class = 60% of Total students = 60% of x = 0.6x
So, we get that,
Number of males + Number of females = Total students
i.e.

i.e.

i.e.

i.e.

i.e. x = 30
Thus, there are total 30 students in the class.