Create a C++ console applications to compile the following statistics on a list of integers:
 minimum value;
 maximum value;
 median value;
 arithmetic mean;
 absolute deviation
 variance (of a discrete random variable);
 standard deviation (of a finite population);
 mode (including multi-modal lists).
 frequency distribution (fixed to 10 evenly distributed intervals);
 Quintile population means
 outlier report (displays the number of outliers greater/less than 2 and 3 standard deviations away from the mean);
Your program must handle any length of list. The list will be piped in from the command line and terminated with end-of-stream (^Z)

2 Years
Discussion Span
Last Post by rubberman

A good thing is to start by reading the Ruless
If you know how to get, let us say the minimum value out of a list of integers with a pencil and paper, then the coding is trivial. If you don't know how to do that, i guess you're in big trouble.


What ddanbe said. Start with the math. Then code. Then when you have some problems with the code, post it here and we may be able to help you sort it out.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.