Every week, Michelle is paid d dollars for having worked h hours. Which statement describes the relationship between d and h?
A. d is the dependent variable because h affects the number of dollars Michelle earns.
B. d is the dependent variable because d affects the number of hours Michelle works.
C. d is the independent variable because h affects the number of dollars Michelle earns.
D. d is the independent variable because d affects the number of hours Michelle works.