Count Vowels

JavaScript Easy 4 views
Back to Questions
Next Memoize One-Argument Function Medium N

Problem Description

Given a string, count how many vowels are there (a,e,i,o,u) ignoring case. Print the count.

Input Format

One line string (can have spaces).

Output Format

One integer count.

Sample Test Case

Input:
Hello India
Output:
4

Constraints

String length up to 1e5.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Next