Suppose that a certain college class contains 36 students. Of these, 22 are juniors, 17 are history majors, and 5 are neither. A student is selected at random from the class.
(a) What is the probability that the student is both a junior and a history major?
(b) Given that the student selected is a junior, what is the probability that she is also a history major?