Choose the situation that represents a function.

A.The number of raisins in an oatmeal raisin cookie is a function of the diameter of the cookie.

B.The inches of rainfall is a function of the day’s average temperature.

C.The time it takes to cook a turkey is a function of the turkey’s weight.

D.The number of sit-ups a student can do in a minute is a function of the student’s age.