Project 72: Median of Frequency Distribution

Project 72: The variables 'x' and 'freq' have been initialized.

x represents the values in the distribution (40, 50, 60, etc. for the example given above)

freq represents the frequencies in the distribution (1, 3, 4, etc. for the example given above)


Task: Initialize the value of 'median' that represents the median of the distribution

**If your code works for 5 test cases, you can enter your e-mail address

Universal Computational Math Methods:

pow(5,2) returns 25.0

abs(-3.0) returns 3

sqrt(49.0) returns 7.0