# Aptitude | Probability | Question 9

A box having 5 black and 3 brown flags. Another box having 4 black and 6 brown flags. If one flag is drawn from each box.

Find the probability that both flags are of different color.

(A) 21/40
(B) 10/19
(C) 3/8
(D) 3/10

Explanation:

Box 1 consists of 5 black and 3 brown flags.
Box 2 consists of 4 black and 6 brown flags.
So if we select black flags from box 1 we have to select brown flags from box2 according to the question and probability of that is
P1= 5/8 * 6/10
If we select brown flags from box 1 we have to select black flags from box2 according to the question and probability of that is
P2=3/8 * 4/10
So the answer is P1+P2= 21/40

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!