Question: For this C++ programming problem, you will write exactly 3 functions: Write a value-returning function called isVowel that takes a character as a parameter and
For this C++ programming problem, you will write exactly 3 functions:
Write a value-returning function called isVowel that takes a character as a parameter and returns true if that character is a vowel and false otherwise.
Write a value-returning function called countVowels that takes a string as a parameter and returns the number of vowels contained in that string. This function should call the isVowel function described above.
Write a main function that prompts the user to input a line of text and outputs the number of vowels in that line of text. Your main function will call the countVowels function described above.
You will implement all 3 functions in the same file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
