Quiz: How Would We Fix That
- Remove the condition
if (!insideVowelGroup)so that we always incrementcountfor vowels - Change the condition of the inner
iffrom!insideVowelGrouptocount == 1 - Set
insideVowelGrouptofalseright aftercount++ - Set
insideVowelGrouptofalsewhenletteris not a vowel