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 30 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 * 30 ) = 90 ( x - 5 ) 300 = 10 x = > x = 30 answer : b"
divide(subtract(multiply(90, 5), multiply(5, 30)), subtract(90, 80))