Median
In probability and statistics, the median is a measure of central tendency that represents the middle value of a dataset when it is arranged in ascending or descending order. To find the median of a dataset, you first need to arrange the values in order. If the dataset contains an odd number of values, the…