Skip to content

Files

Latest commit

2e108b8 · Jul 20, 2023

History

History
This branch is 12 commits behind igorwojda/kotlin-coding-challenges:main.

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 20, 2023
Feb 7, 2023
Feb 7, 2023

Find the vowels

Instructions

Given string implement a function, which returns the number of vowels used in a string. Vowels are the characters a , e i, o, u and y.

Challenge | Solution

Examples

vowels('Hi There!') // 3

vowels('Why do you ask?') // 6

vowels('Why?') // 1