In a class of 40 , 12 students failed the exam. What was the passing rate of the said class?

12 failed, so 28 passed

28/40 = 70%