Vowel Cover

We say that a string ss is covered by vowels (it’s vowel_covered) if ss is longer than 4, its initial and final positions are uppercase vowels and its second and last but one positions are lowercase vowels. Thus AiaI is not covered by vowels since its length is 4, but AureA is covered by vowels.

Implement the function @is_vowel_covered(s)@ which returns TrueTrue if a given string ss is vowel covered and FalseFalse otherwise.

Sample session

Problem information

Author: InfBesos

Generation: 2026-01-25T15:20:55.089Z

© Jutge.org, 2006–2026.
https://jutge.org