Write a main program that tests your function


Write a function that takes as a parameter an 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!!
Programming Languages: Write a main program that tests your function
Reference No:- TGS0138389

Expected delivery within 24 Hours