about | help | code help+videos | done | prefs |
Write a method called countVowels which takes a String as a parameter and which returns an integer representing how many vowels are in the input String. For example countVowels("break") would return 2 since there are 2 vowels in "break". countVowels("zzzyyy") → 0 countVowels("banana") → 3 countVowels("onomatopedia") → 7 ...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: 200
Copyright Nick Parlante 2017 - privacy