-
Your program should print out the average, standard deviation, and mode of the data in numbers.txt.
-
Your program must utilize proper modular design and parameter passing. Instead of doing all calculations in one function, create and utilize various helper functions that are useful for your calculations.
-
Turn in your source code and run output.
-
In VS-Code, make sure you open ONLY the folder for Statistics (not the entire workspace with all your other
lab folders). VS-Code will not be able to run and open the file called numbers.txt unless you only have the Statistic
folder open.
-
Be sure to look at the fields in the Statistics.java. Specifically, what is the meaning of howMany
? DO NOT START THIS UNTIL YOU HAVE ANSWERED THIS IMPORTANT QUESTION.
-
The numbers.txt
file is big and has a lot of numbers. It is really not a super useful
file for testing your code. Make a new file - like mynumbers.txt
- and put a small
set of numbers - like 4 numbers or 10 numbers. You can then use this to test out the average,
standard deviation and mode methods more easily.