Which of the following would be a good name for the function that takes the weight of a box and returns the energy needed to lift it? A.box(cost) B. Energy(weight) C. Weight(box) D. Weight(energy)

Respuesta :

Answer:

B.  Energy(weight).

Step-by-step explanation:

Energy(weight).

Weight is the independent variable and energy is the dependent.

The amount of energy depends on the weight.