Count Vowels Easy

+50 PTS

Before you start the test, check out our tutorial challenge

  • TYPE CODE PRACTICE CHALLENGE
  • LANGUAGES BASH, C, C++, C# AND 21 MORE
    LANGUAGES BASH, C, C++, C#, CLOJURE, ELIXIR, ERLANG, GO, GROOVY, HASKELL, JAVA, JAVASCRIPT, JULIA, KOTLIN, NIM, PERL, PHP, PYTHON2, PYTHON, RUBY, RUST, SCALA, SWIFT, TYPESCRIPT, VB
  • TIME ~10MIN

Count Vowels

Challenge outline

Hello and welcome to the challenge!


White the code which counts all vowels in the given string. Please consider a, e, i, o, and u as vowels for this task.

Input

  • string to analyze

Output

  • amount of vowels - integer number

Constraints

  • 1 <= string length <= 500


You can solve this programming contest in C#, C++, Java, Ruby, JavaScript, Python, PHP and many more languages. If you want, you can also take part in other August 2019 competitions. Below you can find some of them:



Have fun and good luck! :)