Question: This is C++ program i need help with, it has 2 parts i have attached. Repetitive Program Execution Write a program in a file named
This is C++ program i need help with, it has 2 parts i have attached.


Repetitive Program Execution Write a program in a file named Vowel.cpp that prompts the user for an input string and then determines and displays the number of characters as well as the number of vowels ( , a , , , e , , , i , , , o , , , u , ) that are in the input string. Your program should display the input string as well. Worth noting is that the input string can contain embedded blanks that should be counted as character values in the string. In addition, we'll need a separate counter for each of the vowels. Finally, upper case ('A') and lower case ('a') vowels should be counted as the same vowel. Variables: input_string sentence that is input by the user a_ count, e_count, i_count, o_count, u_count counts occurrences of each vowel Input: the string object, possibly with embedded blanks Output: The string that was input The number of characters in the input string The number of times each vowel is in the input string
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
