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

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

answered
User BRICK MANE
by
8.2k points

No related questions found

Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.