Question: Using java. Write a word analyzer that will find the average word length of a list of words entered by the user. The user should
Using java. Write a word analyzer that will find the average word length of a list of words entered by the user. The user should enter END (or end or End or eNd, etc) when they are done entering words. You must use a string method (not the equality operator) to check for the word end. Your program should display an appropriate response when the user does not enter any words. Do not include the word END in your word count or your average.
Write an improved word analyzer that in addition to finding the average word length of a list of words entered by the user will also do the following:
Print the number of vowels for EACH word.
Print the number of consonants for EACH word.
Print the total number of vowels for ALL words.
Print the total number of consonants for ALL words.
Your program must use a for loop to process the vowel and consonant counts for the individual words. The user should enter END (or end or End or end, etc) when they are done entering words. You must use a string method (not the equality operator) to check for the word end. Your program should display an appropriate response when the user does not enter any words. Do not include the word END in your counts or your average.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
