fn is_vowel(word: &str) -> bool {
    match word.to_lowercase().chars().next() {
        Some('a') => true,
        Some('e') => true,
        Some('i') => true,
        Some('o') => true,
        Some('u') => true,
        _ => false,
    }
}
// Function to check if word starts with a vowel
Function to check if word starts with a vowel
Function to check if word starts with a vowel
fn is_vowel(word: &str) -> bool {
    match word.to_lowercase().chars().next() {
        Some('a') => true,
        Some('e') => true,
        Some('i') => true,
        Some('o') => true,
        Some('u') => true,
        _ => false,
    }
}
fn is_vowel ( word : & str ) -> bool { match word . to_lowercase ( ) . chars ( ) . next ( ) { Some ( 'a' ) => true , Some ( 'e' ) => true , Some ( 'i' ) => true , Some ( 'o' ) => true , Some ( 'u' ) => true , _ => false , } }
Function to check if word starts with a vowel
Function to check if word starts with a vowel
word
&str