Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that reads a string and outputs the number of times each lowerca

ID: 3618495 • Letter: W

Question

Write a program that reads a string and outputs the number of times each lowercase vowel appears in it. Your program must contain a function with one of its parameters a string, and return the number of times each lowercase vowel appears in it. Also write a program to test your function. (note that if str is a variable of type string, then str.at (i) returns the character at the ith postion. The position of the first character is 0. Also str.length() returns the length of the str, that is, the number of characters in str.)

Explanation / Answer

please rate - thanks #include using namespace std; void isVowel(string,int[]); int main() {string input; int i; int vowels[5]={0,0,0,0,0}; cout