Ask Question
16 July, 14:34

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);

+2
Answers (1)
  1. 16 July, 14:38
    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?
Find 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 the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers