Arrange the numbers in ascending or descending order
If the count is odd, take the middle number
If the count is even, add the two middle numbers and divide by 2
Use the result as the median
Arrange the numbers in ascending or descending order
If the count is odd, take the middle number
If the count is even, add the two middle numbers and divide by 2
Use the result as the median