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

why do organisms perform mitosis
math 23 points help please asap
A football team gained 10 yards on one play and then lost 22 yards on the next. What was the overall change in field position.
What is the area of the triangle if the base is 5 centimeters and the height is 6 centimeters? A. 15 cm2 B. 12 feet C. 4 m3 D. 16 inches
!!!!!! i need help so i raised the points to 24 points and will give brainliest !!!!!!! thank you !!! what is the common ratio of the geometric sequence 128, -
What is the best description of the salinity of ocean water? A: Number of grams of salt in one kilogram of water? B: Number of grams of dissolved chlorine in on
I don’t know how to go about answering this, please help.
How many atoms are in mercury (ii) biocarbonate?
the img has the question
Some bakers make apple pies. They each have 15 boxes of apple pies