🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links
beginner

Count the Vowels

#loops #conditionals #strings

Create a function to count the number of vowels in a given text string.

Write a function called countVowels that accepts a string as input. Return the total number of vowels (a, e, i, o, u) found in the string. Ensure your function handles both uppercase and lowercase letters.