Answer:
C. average number of earthworms in each type of soil
Explanation:
A factor that is changed in response to the change in the other factor in an experiment is called the dependent variable. In an experiment, the independent variable is changed so as to observe the corresponding effect on the dependent variable.
In the given experiment, wet and dry soils were used to observe the effect of soil moisture on earthworms. The effect was observed in terms of a number of earthworms present in each type of soil after a certain duration. Therefore, the average number of earthworms in each soil type was a dependent variable that changed according to the soil moisture (independent variable).