Ask Question
8 January, 01:06

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. 8 January, 04: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?
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 you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers