How to Count Vowels in PowerShell - Code Snippet

How to perform 'Count Vowels' in PowerShell.

example.ps1
# Task: Count Vowels
# Language: PowerShell

function count_vowels() {
    # Implementation for Count Vowels
    $ result = ...; # Initialize variable
    # TODO: Implement core logic here
    # Step 1: Prepare data
    # Step 2: Process Count Vowels
    Write-Host("Done");
}
AdSense Slot