How to Count Vowels in Crystal - Code Snippet

How to perform 'Count Vowels' in Crystal.

example.cr
# Task: Count Vowels
# Language: Crystal

def count_vowels() 
    # Implementation for Count Vowels
    # TODO: Implement core logic here
    # Step 1: Prepare data
    # Step 2: Process Count Vowels
    puts("Done");
end
AdSense Slot