Question: Please use Java, Thank you. Work2-5 Write a Java program named Words that asks the user to enter four words. The program should then analyze

Please use Java, Thank you. Work2-5
Please use Java, Thank you. Work2-5 Write a Java program named Words

Write a Java program named Words that asks the user to enter four words. The program should then analyze each of the four words so that it can report the length of each word as well as the positions of the five vowels within each word. For a sample run where the user enters the words: she smiles third frisbee the console screen must look as follows: Enter 4 words: she miles third frisbee Word 3= "third" Length =5 position of vowels: 'a' =1,e=1,1 ' =2,0 ' =1, 'u' =1 For a sample run where the user enters the words: shoe shoe chime wallabees the console screen must look as follows: Enter 4 words: shoe shoe chime wallabees Word 1= "shoe" Length =4 position of vowels: ' a ' =1,e ' =3,1 ' =1,=1, =2, 'u' =1 Hord 2= "shoe" Length =4 position of vowelg: ' a ' =1,e ' =3,1, ' =1,c=2, Word 4= "wallabees" Length =9 position of vowels 7 ' a ' =1,e=6, '1' =1,0, =1,u, =1, Note: For multiple instances of a vowel, only the index of the first occurrence will be indicated. An index of 1 indicates that the vowel does not occur in the word. Please make sure to end each line of output with a newline

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!