Answer:
There are 30 students in class
Explanation:
Let x be the total number of students
Then according to the given statement,
40% of x is 12
this can be expressed mathematically as:

we can simply use this equation to find the total number of students

Dividing both sides by 0.40

Hence,
There are 30 students in class