Number of students scored 100 = 8
Number of students scored 90 = 12
Number of students scored 80 = 8
Total score secured by the students = 8×100 + 12×90 + 8×80
= 800+ 1080+640 = 2520
Total students = 8+12+8 = 28
Mean score of students = Total score secured by the students/ total students
= 2520/28 = 90