This project has been awarded to cijagani for $20 USD.Get free quotes for a project like this
Project Budget$20 USD
Calculate the Median and average of a data set.
Input the values 6, 5, 3, 1, 2, 4 and 125 into a file.
Read the file into an array. Use this array as your data for program 9.
Sort the array. You can not calculate a median without the data being in order.
Calculate and print the Median and average of the data.
Required: Use a function for the median and a function for the average. The array should be passed to the functions.
Browse Related Skills
Other things people do on Freelancer
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online