You can also compute the median of three numbers x, y and z as x + y + z - a - b where a is the smallest of x, y and z and b is the largest of x, y and z. Suppose that you have already defined functions smallest(x,y,z) and largest(x,y,z). Give a single-equation definition of median(x,y,z).

(For this problem, definitions of smallest(x, y, z) and largest(x, y, z) are provided.)

 

    [Language: Cinnameg  Kind: function definition*]

(*You can define more than one function if you put a semicolon between definitions (but not between cases of one definition). Be sure to define a function before you use it.)