Hello
I'm struggling with a function. My goal is to rite a program that reads a string and outputs the number of times each lowercase vowel appears in it. The program must contain a function with one of its parameters as a string variable and five other integer reference parameters with each one representing the number a particular vowel appears in the string. The program should request a string input from the user then display the results of the function.
Here is what I have so far. What I'm struggling with is how to plant this code into a function. The code I have written is how I want the the function to operate, but I don't know how to utilize it with the function syntax that my instructor has given me