Question: Assume letters A, E, I, O, and U as the vowels. Write a program that prompts the user to enter a string and displays the
Assume letters A, E, I, O, and U as the vowels. Write a program that prompts the user to enter a string and displays the number of vowels and consonants in the string.

Enter a string: Programming is fun -Enter The number of vowels is 5 The number of consonants is 11
Step by Step Solution
3.38 Rating (164 Votes )
There are 3 Steps involved in it
Program Plan 1 Create a class StringVowelConsonants 2 Declare and Initialize the variables int no0No... View full answer
Get step-by-step solutions from verified subject matter experts
