Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
nice dude.
This comment is hidden because it contains spoiler information about the solution
You're right....also using a switch statement as you did saves us space, instead of storing vowels in a data structure. Although the space used for the small amount of data we are storing is essentially negligiable.
Per the Kata's definition of capital, "We will consider a, e, i, o, and u as vowels for this Kata," there are no capital vowels. You could always lowercase the string first if you like, though.
Fails for Capital vowels