The average mark of the students of a class in a particular exam is 80. If 5 students whose average mark in that exam is 40 are excluded, the average mark of the remaining will be 90. Find the number of students who wrote the exam?  Answers
A) 22 B) 26 C) 25 D) 28 E) 12

Rationale: "let the number of students who wrote the exam be x . total marks of students = 80 x . total marks of ( x - 5 ) students = 90 ( x - 5 ) 80 x - ( 5 * 40 ) = 90 ( x - 5 ) 250 = 10 x = > x = 25 answer : c"
Answer: C