Answer: E. 48
=========================================
Work Shown:
x = number of students in the class
25% of x = (25/100)*x = 0.25x = number of students who got an A
0.25x = 12
x = 12/0.25 ...... divide both sides by 0.25
x = 48
------------------------
Alternative Method
part/whole = percent/100
12/x = 25/100
12*100 = 25*x ..... cross multiply
1200 = 25x
25x = 1200
x = 1200/25 .... divide both sides by 25
x = 48