View Code? Open in Web Editor
NEW
Some ugly code that can calculate Average, Weighted Avarage and Standard Deviation of a sample of values either inputed or imported from a file.
License: GNU General Public License v3.0
average-calculator's People
Contributors
Stargazers
Watchers
average-calculator's Issues
|
for (int i = 0; i < SAMPLESIZE; i++) input[i] = tolower(input[i]); |
Probably a mistake in i<SAMPLESIZE
Generates a bug when SAMPLESIZE < 3 that disables lowercasing of function calls. "SPS", for example, creates "Unknown command":