we know that
the total cans are 100
number of cans of root beer=24
number of cans of orange soda=12
number of cans of cola=16
therefore
the probability is equal to
P=(24+12+16)/100
P=52/100
P=0.52 or P=52%
as fraction is 52/100=26/50=13/25
answer is 13/25