about | help | code help+videos | done | prefs |
Write a method called firstVowelIndex which takes a String as a parameter and which returns an integer representing the index of the first vowel found in the input String. For example firstVowelIndex("break") would return 2 since the first vowel was found at index 2. (Don't consider the letter y to be a vowel) firstVowelIndex("abc") → 0 firstVowelIndex("zzzyy") → -1 firstVowelIndex("thread") → 3 ...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 Post-solution available
Copyright Nick Parlante 2017 - privacy