about | help | code help+videos | done | prefs |
countVowels
Given a string, counts how many vowels exist inside the string if parameter vowel is true, otherwise it should count how many characters are not vowels. countVowels("apple", true) → 2 countVowels("union", true) → 3 countVowels("car", false) → 2 ...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: 100
Copyright Nick Parlante 2017 - privacy