Write a function that receive 3 numbers and return the medium number
Anonymous
It is easier to find the minimum and maximum of the three numbers (say, a, b, c). minimum = min(min(a, b), c) maximum = max(max(a, b), c) So, median becomes: median = (a+b+c) - minimum - maximum
Check out your Company Bowl for anonymous work chats.