Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
June 30, 2019 05:40 pm GMT

Daily Challenge 3 - Vowel Counter

Hope youre ready for another challenge! Lets get started with Day 3.

Todays challenge is modified from user @jayeshcp on CodeWars.

Write a function that returns the number (count) of vowels in a given string. Letters considered as vowels are: a, i, e, o, and u. The function should be able to take all types of characters as input, including lower case letters, upper case letters, symbols, and numbers.

In this challenge, you should be able to efficiently ignore spaces and symbols and discern between capital and lowercase letters. Beginners can start with only lowercase letters and move up from there. Itll definitely get you ready for tomorrow.

Happy coding!~

Thank you to CodeWars, who has licensed redistribution of this challenge under the FreeBSD 2-Clause License!

Original Link:

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To