Write a program that reads a string an outputs the number of timeseach lowercase vowel appears in it. Your program must contain afunction with one of its parameters a string, and return the numberof times each lowercase vowel appears in it. Also write a programto test your function. (Note that if str is a variable of typestring, then str.at(i) returns the character at the ith position.The position of the first character is 0.Also str.length() returnsthe length of the str, that is the number of characters in str.)
Explanation / Answer
please rate - thanks #include #include using namespace std; int count(string,char); int main() { string sentence; int a,e,i,o,u; cout