isVowel 🌶️
Write a method isVowel that returns true if the one-letter lowercase String letter is a vowel (a, e, i, o or u) and false if it is not. You do not need substring for this one: indexOf is enough. (Hint: search for the letter in the String "aeiou". What does indexOf return when the letter is not there?)
Search for the letter in the String "aeiou". What does indexOf return if it is not found?
A found letter gives an index of 0 or more (note that "a" is at index 0). Compare the result with -1.