Find words with alternating vowels and consonants: Difference between revisions

Content added Content deleted
(→‎AppleScript :: Idiomatic: Removed editorial content on other drafts. See discussion.)
m (Prolog - removed unnecessary line)
Line 1,590: Line 1,590:
vowel('u').
vowel('u').


alternating_vowels_and_consonants([]):-!.
alternating_vowels_and_consonants([_]):-!.
alternating_vowels_and_consonants([_]):-!.
alternating_vowels_and_consonants([Ch1, Ch2|Chars]):-
alternating_vowels_and_consonants([Ch1, Ch2|Chars]):-