Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

For this question: Download the list of words here: https://tigerweb.towson.edu/

ID: 3842649 • Letter: F

Question

For this question: Download the list of words here: https://tigerweb.towson.edu/aconover/small_dictionary.txt

Write a single Perl or Python program to count and display the number of occurrences of words which contain 4 consecutive vowels. (Vowels include a,e,i,o,u,y). The input should be readable from a "input pipe" (as in <cat or type> somefile.txt | <perl or python>program_name). Note that the input just has one word on each line:

Fake Example input:

abcdef

aeiou

zaeyiax

abecixoxu

(The bolded letters are shown here only for illustration.)

Example Output:

aeiou

zaeyiax

Found 2 matches

abcdef

aeiou

zaeyiax

abecixoxu

Explanation / Answer

#include #include #include struct detail { char word[20]; }; int update(struct detail [], const char [], int); int vowelcheck(char); int main() { struct detail s[10]; char string[100], unit[20], c; int i = 0, j = 0, count = 0; printf("Enter string: "); i = 0; do { fflush(stdin); c = getchar(); string[i++] = c; } while (c != ' '); string[i - 1] = ''; printf("The string entered is: %s ", string); for (i = 0; i
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote