I have added the median salary to the method ProcessSalaries.