Ask Question
14 January, 21:54

33. The following statement calls a function named half, which returns a value that is half that of the argument passed to it. Assume that result and number have both been defined to be double variables. Write the half function. result = half (number);

+3
Answers (1)
  1. 15 January, 00:47
    0
    Step-by-step explanation:

    #using java

    Double result;

    public Double half (Double number) {

    return number/2;

    }

    result=half (number);
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “33. The following statement calls a function named half, which returns a value that is half that of the argument passed to it. Assume that ...” in 📙 Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers