Vowel Words – a vowel word is a word that contains every vowel. Some examples of vowel words are sequoia, facetious, and dialogue. Write a program that uses a Boolean-valued function to determine whether a word input by the user is a vowel word. a) Request a word, word from the console. b) Define a function, isVowelWord(word) examines the word for vowels one at a time and terminates when a vowel is found to be missing or after all vowels have been considered. (Hint: Use in operator to check if a vowel appears in the word). c) Print out the search result (print statement should not be part of the function, isVowelWord(word)). Output Example 1: Enter a word: Education ‘Education’ contains every vowel. Output Example 2: Enter a word: Python ‘Python’ does not contain every vowel. need help with python
Vowel Words – a vowel word is a word that contains every vowel. Some examples of vowel words are sequoia, facetious, and dialogue.
Write a program that uses a Boolean-valued function to determine whether a word input by the user is a vowel word.
a) Request a word, word from the console.
b) Define a function, isVowelWord(word) examines the word for vowels one at a time and terminates when a vowel is found to be missing
or after all vowels have been considered. (Hint: Use in operator to check if a vowel appears in the word).
c) Print out the search result (print statement should not be part of the function, isVowelWord(word)).
Output Example 1:
Enter a word: Education
‘Education’ contains every vowel.
Output Example 2:
Enter a word: Python
‘Python’ does not contain every vowel.
need help with python
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 3 images