The cost of textbooks for a school increases with the average class size. Identify the independent and dependent quantity in the situation.
A/number of classes; average class size
B/cost; number of classes
C/average class size; cost
D/cost; average class size