about | help | code help+videos | done | prefs |
isVowel
Return true if the character is a vowel. Y does not count as a vowel for this particular problem. Hint: you can use the string "aeiouAEIOU" and loop over it instead of writing many if statements. If you do this, use charAt() but no other string methods. isVowel("a") → true isVowel("b") → false isVowel("c") → false ...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