Write a function that takes as a parameter and string


Write a function that takes as a parameter and string and returns the vowels (a, e, i, o, u). The function prototype should look like:

void countVowels(string str, int& aCt, int& eCt, int& iCt, int& oCt, int& uCt);

Also, write a main program that tests your function by allowing the user to enter in a string and is passed to the function. 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Write a function that takes as a parameter and string
Reference No:- TGS0136758

Expected delivery within 24 Hours