Write a program that reads a string and outputs the number

Write 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 it’s parameters as a string variable and return the number of times each lowercase vowel appears in it. Also please write a program to test your function.