/**
 * Write a program that counts the number of vowels in a given string.
 * Assume the string contains only lowercase letters.
 */
fun countVowels(string: String): Int {

    var vowelCount = 0

    // Iterate over each character in the string
    for (char in string) {
        // Check if the current character is a vowel
        if (char in listOf('a', 'e', 'i', 'o', 'u')) {
            // Increment vowel count by 1
            vowelCount++
        }
    }

    return vowelCount
}
/**
 * Write a program that counts the number of vowels in a given string.
 * Assume the string contains only lowercase letters.
 */
fun countVowels(string: String): Int {
/**
 * Write a program that counts the number of vowels in a given string.
 * Assume the string contains only lowercase letters.
 */
fun countVowels(string: String): Int {

    var vowelCount = 0

    // Iterate over each character in the string
    for (char in string) {
        // Check if the current character is a vowel
        if (char in listOf('a', 'e', 'i', 'o', 'u')) {
            // Increment vowel count by 1
            vowelCount++
        }
    }

    return vowelCount
}