It is given that,
P(getting a red ball) = and P(getting a blue ball) =
Let P(getting an orange ball) be x.
Since, there are only 3 types of balls in the jar, the sum of probabilities of all the three balls must be 1.
\
∴ P(getting an orange ball) =
Let the total number of balls in the jar be n.
∴ P(getting an orange ball) =
Thus, the total number of balls in the jar is 24.