A type of fabric cost $2.49 per yard. In a relation, the input is the number of yards of fabric and the output is the cost.

Is this relation a function? Why or why not?

A. No, because different inputs (numbers of yards of fabric) will have different outputs (costs).

B. No, because the fabric always costs $2.49 per yard.

C. Yes, because fabric can cost different amounts.

D. Yes, because one input (number of yards of fabric) will always have the same output (cost)