Special offer for new customers: 5% OFF your first order! Use coupon: GWRITERSclose

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

You can leave a response, or trackback from your own site.
Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes