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,
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
Get step-by-step solutions from verified subject matter experts
