Find words which contains more than 3 e vowels: Difference between revisions

Content added Content deleted
(Added Algol 68)
Line 468: Line 468:


=={{header|Julia}}==
=={{header|Julia}}==
See Alternade_words#Julia for the foreachword function.
See [[Alternade_words#Julia]] for the foreachword function.
<lang julia>ecount(word) = count(x -> x == 'e', word)
<lang julia>ecount(word) = count(x -> x == 'e', word)
vowelcount(word) = count(x -> x in ['a', 'e', 'i', 'o', 'u'], word)
vowelcount(word) = count(x -> x in ['a', 'e', 'i', 'o', 'u'], word)