Count the number of vowels in a given string.
Write a program that takes a string and returns the count of vowels (a, e, i, o, u, y) in the string. The string will contain only lowercase letters and no spaces.
# | Size | % | Users |
---|---|---|---|
#1 | 33 c. | Top 35% | +14 |
#2 | 35 c. | Top 55% | +4 |
#3 | 36 c. | Top 65% | |
#4 | 37 c. | Top 68% | |
#5 | 38 c. | Top 78% | |
#6 | 39 c. | Top 81% | |
#7 | 43 c. | Top 83% | |
#8 | 45 c. | Top 84% | |
#9 | 50 c. | Top 86% | |
#10 | 51 c. | Top 87% | |
#11 | 53 c. | Top 88% | |
#12 | 55 c. | Top 91% | |
#13 | 60 c. | Top 93% | |
#14 | 69 c. | Top 94% | |
#15 | 70 c. | Top 96% | |
#16 | 83 c. | Top 97% | |
#17 | 91 c. | Top 99% | |
#18 | 357 c. | Top 100% |