100k views
2 votes
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);

User CBlew
by
8.9k points

1 Answer

7 votes

Answer:

Explanation:

#using java

Double result;

public Double half(Double number){

return number/2;

}

result=half(number);

User BRICK MANE
by
8.2k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories