Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Program in C please. 1. Exploring File VO . Write a program that Reads a file containing the sales prices for homes in the San
Program in C please.
1. Exploring File VO . Write a program that Reads a file containing the sales prices for homes in the San Jose Metro area from August 1999 to July 2009 (prices.dat from http://wwwsisu.edu/people/burford.furman/courses/me30/sourcecode) o Calculates the average home price and standard deviation average, X standard deviation, s- o Writes the average home price and standard deviation to a file, prices summary.dat Before you start coding, write out the logic of the program pseudocode. Include it in your report. Include your code and the output from the program to demonstrate that it works. (To save paper in your report, you don't have to print out all the home prices. It might be nice to have your program print out the first and last few prices, but this is not required. BTW, how would you do that if you had to?) I suggest you split this problem up into various functions. Read the file in one function. Calculate the average in a second. Calculate the standard deviation in a third. 1. Exploring File VO . Write a program that Reads a file containing the sales prices for homes in the San Jose Metro area from August 1999 to July 2009 (prices.dat from http://wwwsisu.edu/people/burford.furman/courses/me30/sourcecode) o Calculates the average home price and standard deviation average, X standard deviation, s- o Writes the average home price and standard deviation to a file, prices summary.dat Before you start coding, write out the logic of the program pseudocode. Include it in your report. Include your code and the output from the program to demonstrate that it works. (To save paper in your report, you don't have to print out all the home prices. It might be nice to have your program print out the first and last few prices, but this is not required. BTW, how would you do that if you had to?) I suggest you split this problem up into various functions. Read the file in one function. Calculate the average in a second. Calculate the standard deviation in a thirdStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started