asked 10.9k views
4 votes
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

which of the following would be a good name for the function that takes the weight-example-1

2 Answers

0 votes

Answer:Energy (weight)

Explanation:

answered
User Jocky Doe
by
8.2k points
2 votes

Answer:

D. Energy(weight)

Explanation:

The function is composed of two parts, its name and its argument, following the form: name(argument)

The argument refers to inputs of the function, in this case, the weight of the box, and the name refers to the output of the function, in this case, the energy needed to lift the box.

answered
User Nikita Nemkin
by
7.5k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.