Set 101Question 28

Arif's Vowel Counter

EasyWritten in CMust finish in 2 seconds

For a typing-speed app used at a hospital's records desk, Arif needs to count vowels in each submitted phrase.

What your program reads

One string S of lowercase letters.

What your program prints

Count of vowels.

Limits

1 ≤ |S| ≤ 10^5

Example input

bgdc

Expected output

0
main.c

Your work is saved in this browser as you type.

Loading editor…
Input for Run

Run tries your code on the input above and shows what it prints. Submit checks your output against every test, including hidden ones.

Shortcut: Ctrl + Enter sends it to the judge.

Arif's Vowel Counter · DIU ContestHub