when it rains, there is a 20% chance that Jamie will go to the gym. When it does not rain, there is a 60% chance that Jamie will go to the gym. there is a 40% chance that it will rain tomorrow.

a. what is the probability that Jamie will go to the gym
b. if Jamie goes to the gym, what is the probability that it rained?
c. if Jamie doesn't go the gym, what is the probability that it rained?