Jan is having the walls of her house painted. The cost

depends on the area of the walls.

Which is the dependent variable, and which is the independent variable?

A. The dependent variable is the cost, and the independent variable

is the area of the walls.

B. The dependent variable is the cost, and the independent variable is

the number of floors.

C. The dependent variable is the area of the walls, and the

independent variable is the cost.

D. The dependent variable is the number of floors, and the

independent variable is the cost.