Question: pls solve i will like Counting Vowels Write a Java program that reads a sentence and displays the count of individual vowels in this sentence.
Counting Vowels Write a Java program that reads a sentence and displays the count of individual vowels in this sentence. Use appropriate String class methods. Sample Inputs (in Red) /Outputs Sample 1: Enter your sentence: I love UNITED EMIRATES. Number of a : 1 Number of e:4 Number of 1:3 Number of 0:1 Number of u:1 Sample 2: Enter your sentence: 1 love united emirates. Number of a:1 Number of e:4 Number of 1:3 Number of 0:1 Number of u:1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
