Write a program that uses a set of floating-point values (double[]
is fine here). These values need to be associated with the instance of a class.
Calculate the following properties:
getAverage()
getSmallest()
and getLargest()
.getRange()
The following conditions need to be met:
DataSet
add(double value)
that will add a value to the existing set.main()
method.Normal/Paranormal distribution - Silicon Republic1