Problem

The text file words.txt, which is included in the source code for this book, contains an a...

The text file words.txt, which is included in the source code for this book, contains an alphabetically sorted list of English words. Note that the words are in mixed upper- and lowercase.

Write a program to read each word in, one line at a time, and help you find the word that has the most consecutive vowels. Only use the letters a, e, i, o, and u as vowels.

For example, the word “aqueous” has four consecutive vowels. However, there is a word in the list with five consecutive vowels. What is it?

Step-by-Step Solution

Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 12