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 ?
"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"
divide(subtract(multiply(90, 5), multiply(5, 40)), subtract(90, 80))