write a program in bluej to input a string and display the count of vowel
Answers
Answered by
1
Answer:
To count the number of vowels in a given sentence:
Read a sentence from the user.
Create a variable (count) initialize it with 0;
Compare each character in the sentence with the characters {'a', 'e', 'i', 'o', 'u' }
If a match occurs increment the count.
Finally print count.
Answered by
3
Answer:
hey plz plz inbox me ......
Similar questions
Science,
4 months ago
Social Sciences,
1 year ago