CodeOath
← All problems

Count Vowels

Easy
strings

Count the vowels (a, e, i, o, u — case-insensitive) in a string.

Example:

Input: str = "Odysseus"
Output: 3