Coding HW

Programming Project:

Write a program to read housing prices and calculate the mean and standard deviation. The data for this project comes from this file: prices.txt

-Exemplary Credit (10/10)
Program sorts data in descending order (using a function)
Program calculates the median (using a function)

-Satisfactory Credit (7/10)
Program uses a function to read data into an array from data file
Program calculates mean and standard deviation (each a separate function)
Computations must be correct
Fully comment your code.
Put a block of comments at the top of your program that give a title for your lab, your name, lab section, and a brief program description.
In your program use line comments to explain what various lines or parts of your program do.

prices.txt:

150000
250000
135000
450000
332000
221000
100000
340000
765000
200000
150000
50000
255000
175000
3000000
235000

Leave a Reply

Your email address will not be published. Required fields are marked *