The function which_vowels_present will be implement using the Kotlin Programming language, also, a single for-loop is okay for the solution to this problem
//Here is the Algorithm for the problem
fun which_vowels_present(parameter: String) {
for (c in parameter.toCharArray()) {
when (c) {
'a', 'e', 'i', 'o', 'u' -> print("$c")
}
}
}
Furthermore, to help us solve the problem, we took advantage of kotlin's in build string function that can convert a string array to Character array
Learn more:
https://brainly.com/question/14432459