Question: Assume letters A, E, I, O, and U as the vowels. In C++ write a program that prompts the user to enter a string and

Assume letters A, E, I, O, and U as the vowels.

In C++ write a program that prompts the user to enter a string and displays the number of vowels and consonants in the string.

Sample Run

Enter a string: Programming is fun

The number of vowels is 5

The number of consonants is 11

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!