Question: Exercise#4: Write a java program that prompts the user to enter a sentence. The program has to find the print: a. the position of vowels
Exercise#4: Write a java program that prompts the user to enter a sentence. The program has to find the print: a. the position of vowels in the sentence. b. the number of vowels in the sentence (A, a, U, u, E, e, 0, 0, 1, i) Sample input-output: Enter the sentnse: UAEU is the university of the future #2020 The locations of vowels are: 0 1 2 3 5 10 12 14 16 19 23 28 31 33 35 The number of vowels is: 15
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
