about | help | code help+videos | done | prefs |
Write a method that has a string input parameter and returns the number of vowels (a, e, i, o, or u) in the string. countVowels("lisa bart maggie") → 6 countVowels("This is a test") → 4 countVowels("You know not to count y as a vowel") → 11 ...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: 204
Copyright Nick Parlante 2017 - privacy