Write a method called "median3" that computes the MEDIAN value of THREE integers. Hint: for the case of three numbers, the median is the value that is NOT the maximum NOR the minimum, so add the three values and subtract out the min and max, using the methods you wrote for problems #1 and #2.


    • 4 years ago
    Answer Attached
    NOT RATED

    Purchase the answer to view it

    blurred-text