about | help | code help+videos | done | prefs |
Write a method that takes an array of lab scores (A+, A, A-, B, C, D, or F) and returns the average score rounded to the nearest integer. These scores have the following respective values (100, 95, 90, 85, 75, 60, 0). averageLabScore(["A+", "A+", "A+", "A+"]) → 100 averageLabScore(["A+", "A", "A", "A+"]) → 98 averageLabScore(["A"]) → 95 ...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