0

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)

3
Contributors
2
Replies
32
Views
2 Years
Discussion Span
Last Post by rubberman
0

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.

0

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.