Question: Question 3: numVowels () (3 points) Write a function named numvowels (). The function should accept one parameter of type string and it should return


Question 3: numVowels () (3 points) Write a function named numvowels (). The function should accept one parameter of type string and it should return how many vowels are in the string. You should use the helper function isvowel(), developed in the previous question. Function Specifications: Name: numVowels) Parameters (Please Follow the same Order): sentence (string) - String to be examined for number of Vowels Return Value: Number of Vowels in the String - num_vowels (int) Example Function Calli numvowels (Computer Science); Sample Run 1 (Text in Bold is User Input to be passed as Function Parameter) int numo Evowels = numvowels ("CSCI 1300: Starting Computing 1"); cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
