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)
fedodedo12345
0
Newbie Poster
Recommended Answers
Jump to PostA 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 …
All 2 Replies
ddanbe
2,724
Professional Procrastinator
Featured Poster
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.