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

What body of water separates Europe and Asia?
state when the following equations and inequalities will be true and when they will be false. 36=9k
How do you do percent fractions of a number
A line passing through which of the following pairs of coordinates represents a proportional relationship?
The sum of two consecutive odd numbers is 156. Write an equation to determine the value of each nu
Richard M. Nixon a. President #32 b. President #37 c. President #3 d. President #38
What are some facts about the Ural Mountains?
How many times can 26 go into 59
A red string of lights blinks once every 3 seconds while a string of blue lights blink once every 4 seconds. How many times will both sets of lights blink at th
a countertop is 16 feet long and 3 feet wide. what is the area of the countertop in square meters