Answered step by step
Verified Expert Solution
Link Copied!

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.

image text in transcribed

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 third

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

ISBN: 1844804526, 978-1844804528

More Books

Students also viewed these Databases questions

Question

13-1 How does building new systems produce organizational change?

Answered: 1 week ago