preview

Statcalc Case Study

Satisfactory Essays

Using the StatCalc class, write a program that calculates and then displays as output to the console, the following statistics against the set of numbers given below.

Statistics that must be calculated:

Count – Quantity of numbers in the data set. Mean – The mean or average of the numbers in the data set. Standard Deviation – The measure of variance (or dispersion) from the mean.

The set of numbers that you must use is as follows:

5 7 12 23 3 2 8 14 10 5 9 13

You must create a program with a main method that defines the StatCalc class and instantiates an instance of StatCalc called myStatCalc. Your program should instantiate the instance of the StatCalc using a statement similar to the

Get Access