10.0k views
5 votes
Which of the following would be a good name for the function

that takes the length of a race and returns the time needed to
complete it?
O A. Time(race)
O B. Length(time)
OC. Cost(time)
O D. Time(length)

User Chobeat
by
6.9k points

1 Answer

2 votes
(time to complete)
f=length= some pattern here using length variable

time(length)

the independent variable aka the input is the length & the output is the time it takes or is needed to complete it.


User Coyod
by
8.0k points