Find words which contains more than 3 e vowels: Difference between revisions
Find words which contains more than 3 e vowels (view source)
Revision as of 19:21, 14 March 2021
, 3 years ago→{{header|Julia}}
(Added Algol 68) |
|||
Line 468:
=={{header|Julia}}==
See [[Alternade_words#Julia]] for the foreachword function.
<lang julia>ecount(word) = count(x -> x == 'e', word)
vowelcount(word) = count(x -> x in ['a', 'e', 'i', 'o', 'u'], word)
|