CIS 10: Introduction to Programming
Project E
Complete Project 4 from Chapter 6 of the text. Directions are on page 368.
- Use the file name numbers.dat for the input data. Create it yourself using any editor and save it as plain text. Use any test data you deem appropriate.
- If you check your work with a calculator that does statistical calculations automatically be aware that most devices compute the sample standard deviation by default, not the population statistic as described in the text.
- The instructions suggest that your program should take two passes through the data, invoking close() and then open() after the first pass. Experience has shown that the second open() works best if done on a different ifstream object than the first.
- Save your source file as stats.cpp.
- Be sure to compile, run and test your program to insure that it functions correctly.
When you're satisfied with your work, submit it via the CATE form for Project E.
Legend: method/function keyword literal/identifier
2007/10/06