about | help | code help+videos | done | prefs |
processScores
Remove the lowest and highest scores from the list, then append the average of the remaining scores. All lists have at least 3 elements.
processScores([89, 90, 71, 93, 94]) → [89, 90, 93, 90.66666666666667] processScores([80, 96, 75, 93, 88]) → [80, 93, 88, 87.0] processScores([77, 85, 93, 91, 93]) → [85, 91, 93, 89.66666666666667] ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy