ryry3719 ryry3719
  • 02-01-2021
  • Computers and Technology
contestada

The following statement calls a function named half, which returns a value that is half
that of the argument. (Assume the number variable references a float value.) Write
code for the function.
result = half(number)

Respuesta :

kyhat kyhat
  • 02-01-2021

Answer:

function half(number) {

     let result = number/2;

     return result;

}

Explanation:

Answer Link

Otras preguntas

Please answer asap please take a look at the question explain and please be quick
Amy has 2 1/2 kilograms of grapes on the scale at the grocery store. She then puts an additional 50 grams of grapes on the scale. What is the total weight, in g
suffix of convert from noun to adjective​
the first person to discover mathematics​
I need help solving this problem.
In what way are low-level programming languages limited? They are much closer to human languages than high-level programming languages. O The code has to be wri
How many grams of iron contain 4.06X10^24 atoms of iron?
The strength of the typhoon depends on certain factors. Which of the following can weaken the typhoon? A. high humid area B. low vertical wind shear C. low temp
Find the domain. f(x) = −4x(x − 1)(x − 3)
help me please parabola ait ​