Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 1.61 KB

File metadata and controls

15 lines (9 loc) · 1.61 KB

Count consonants

Provider Source Solutions
Codewars 564e7fc20f0b53eb02000106 C#JavaScript

Write a function consonantCount, consonant_count or ConsonantCount that takes a string of English-language text and returns the number of consonants in the string.

Consonants are all letters used to write English excluding the vowels a, e, i, o, u.