A bag contains 4 red, 3 green and 5 blue balls. Another bag contains 3 red, 3 green and 6 blue balls. A bag is selected at random and 2 balls are drawn from it. What is the probability that both balls are of different colours? code example
Example: a bag1 contains red blue and green balls and bag2 contains red blue and green balls in c++
a bag1 contains red blue and green balls and bag2 contains red blue and green balls in c++