The probability of randomly selecting a hat from a costume closet of 8 dresses, 3 shirt , 5 pairs of pant and 4 hats is 1 / 5
probability = number of favourable outcomes / total number of the possible outcome
Therefore,
probability of randomly selecting a hat = number of hat / total number of possible outcome
Therefore,
number of hat = 4
total number of possible outcome = 8 + 3 + 5 + 4 = 20
Therefore,
probability of randomly selecting a hat = 4 / 20
probability of randomly selecting a hat = 1 / 5
learn more on probability here: https://brainly.com/question/26285302