Best method to solve at least problems in exams is
No of ways that at least one is present = (total no of ways )- (no of ways both are not present) = 10C5 - 8C5 = 252-56 = 196
Another approach
No of ways that at least one is present = (first professor is present)+(second professor is present)- (both are present)
= 9C4+9C4-8C3 = 196