Question: Answer in Java Objective To understand the manipulation of Strings and characters. Assignment Your program will read a word (or a whole line) from the
Objective To understand the manipulation of Strings and characters. Assignment Your program will read a word (or a whole line) from the user. It will then count the number of vowels in the word (or line) and print put this value. You should ignore the semi-vowel y since determining its role requires dividing words into syllables which is hard to do in English. The program should end when the word END is entered. Example Input and output: Enter a word: vowel The word vowel contains 2 vowels. Enter a word: determining The word determining contains 4 vowels. Enter a word: WILL The word WILL contains 1 vowel. Enter a word: END
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
