Question: Please type in C++ thank you! 2. Write a program that counts the number of vowels (a, e, i, o, u) (or) (A, E, I,

Please type in C++ thank you!  Please type in C++ thank you! 2. Write a program that

2. Write a program that counts the number of vowels (a, e, i, o, u) (or) (A, E, I, O, U) and the number of consonants in a sentence. [8 points] For example: Enter a sentence: And that's the way it is. Output: Your sentence contains 6 vowels. n

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!