Question: Exercise #3: write a Java program that prompts the user to enter a sentence. The program has to find the print: a. the position of

 Exercise #3: write a Java program that prompts the user to

Exercise #3: 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, O, o, I, i) c. the number of characters as numbers or special characters (other than English letters a.z, A..Z). Hint: remember to ignore the spaces. Sample input-output: Enter the sentnse: UAEU is the university of the future #2018 The locations of vowels are: 0 2 3 5 10 12 14 16 19 23 28 31 33 35 The number of vowels is: 15 The number of characters as numbers or special characters is: 5

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!