Question: VowelFound Language: Java Read a line of input from the user (as a string) and find out if there are any vowels in the string.
VowelFound
Language: Java
Read a line of input from the user (as a string) and find out if there are any vowels in the string. Use a break or continue keyword (whichever is appropriate) to notify that a vowel has been found. Prompt for another string and search again until the user enters 'exit' into the program.
Hint: We do not care how many vowels are found - just that the first one was found. If one is found, immediately notify the user that one has been found and prompt again for another word.
Again, you may create a method to use or do this all in a sentinel value loop in the main method.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
