package
0.0.0-20241126132414-a6474f9c9b52
Repository: https://github.com/talgat-ruby/exercises-go.git
Documentation: pkg.go.dev

# README

Problem 8

Create a function that takes a string and returns the number (count) of vowels contained within it.

countVowels("Celebration") // 5

countVowels("Palm") // 1

countVowels("Prediction") // 4

Notes

  • a, e, i, o, u are considered vowels (not y).