20 x 1/10 have salads = 2 students
and
20 x 2/5 have sandwiches = 8 students
so 10 students are eating lunches other than salads or sandwiches
(20 - 2 - 8)
or 1/10 + 2/5 = 1/10 + 4/10 = 5/10 have salad and sandwich
so 5/10 have no salad no sandwich
and 5/10 x 20 = 10