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

A stack of 60 identical books at the book store was 135 inches tall. How thick was each book? A. 2.25 inches B. 6.75 inches C. 7.5 inches D. 22.5 inches
PLEASE help ASAP. I am timed on dis.
Really do need help on this
someone please help me
Which of the following types of stars is the coolest? See picture below A B C D
which of these groups of animals are endanger? ill give you brainliest. A)dinosaurs B)mice C)sea turtles D)Killer whales
Which two statements about composite materials are true? 1.They’re made up of more than one substance. 2.They have the same or similar properties as the materia
In the Declaration of Independence, the right of the people to revolt against a tyrannical government was inspired most by
The movement for african independence after world war i was spurred by what
(0.5n 5)2(10n 7) 3 i need help its confusing me