CSC105SU2021Method2

From BU Computer Science
Revision as of 14:34, 16 June 2021 by Cathy.bareiss (talk | contribs) (Created page with "==Second Method assignment== ===Choice 1=== Adapt the previous choice 1 program to print out the users that exceed a threshold inputted by the user. The function should retur...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Second Method assignment

Choice 1

Adapt the previous choice 1 program to print out the users that exceed a threshold inputted by the user. The function should return a array instead of just the number.


Supplemental: Write a program that prints out all numbers that are at 1 standard deviation away from the average. It should only read the file once. One function should read the data. Another function should compute the average. A third function should compute the standard deviation. The last function should return a arary of numbers that are at least one standard deviation away from the average.