/**
 * Write a function that takes a sentence as input and returns the count of vowels present in the sentence.
 * Vowels include 'a', 'e', 'i', 'o', 'u'.
 *
 * @param sentence A string representing a sentence.
 * @return The count of vowels in the sentence.
 */
fun countVowels(sentence: String): Int {

    // Initialize a counter variable to keep track of vowel count
    var count = 0

    // Loop through each character in the sentence
    for (char in sentence) {
        // Check if the character is a vowel
        if (char.toLowerCase() in listOf('a', 'e', 'i', 'o', 'u')) {
            count++
        }
    }

    return count
}
/**
 * Write a function that takes a sentence as input and returns the count of vowels present in the sentence.
 * Vowels include 'a', 'e', 'i', 'o', 'u'.
 *
 * @param sentence A string representing a sentence.
 * @return The count of vowels in the sentence.
 */
fun countVowels(sentence: String): Int {
/**
 * Write a function that takes a sentence as input and returns the count of vowels present in the sentence.
 * Vowels include 'a', 'e', 'i', 'o', 'u'.
 *
 * @param sentence A string representing a sentence.
 * @return The count of vowels in the sentence.
 */
fun countVowels(sentence: String): Int {

    // Initialize a counter variable to keep track of vowel count
    var count = 0

    // Loop through each character in the sentence
    for (char in sentence) {
        // Check if the character is a vowel
        if (char.toLowerCase() in listOf('a', 'e', 'i', 'o', 'u')) {
            count++
        }
    }

    return count
}