| about | help | code help+videos | done | prefs |
Each vowel is worth a different value. An 'A' is worth 1, an 'E' is worth 2, an 'I' is worth 3, an 'O' is worth 4, and a 'U' is worth 5. vowelSum(["Hello", "World"]) → 10 vowelSum(["Aa", "Ee", "Ii", "Oo", "Uu"]) → 30 vowelSum(["Fuzzy", "Wuzzy", "was", "a", "bear"]) → 15 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 299
Copyright Nick Parlante 2017 - privacy