VOWELS - Vowels
Count the number of vowels (a, e, i, o, u, y) in a “word”. Include both uppercase and lowercase vowels in your count.
Input:
A sequence of alphabetic characters (no spaces), with length at most 10,000.
Output:
The number of vowels.
Example Input 1: | Example Input 2: |
ObjectOriented |
XKCD |
Example Output 1: | Example Output 2: |
6 |
0 |
hide comments
(Tjandra Satria Gunawan)(曾毅昆):
2014-10-24 21:40:24
I'm late ~1 year to solve this problem using brainf**k :-P |
|
reggaeguitar:
2014-10-24 21:40:24
@Alex lol |
|
Unnati Gupta:
2014-10-24 21:40:24
8 lines of codes in Python :) |
|
agrdffhv:
2014-10-24 21:40:24
why I not getting any points for this prob.
|
|
Alex Anderson:
2014-10-24 21:40:24
This problem is not worth doing.
|
|
Centurion:
2014-10-24 21:40:24
tutorial |
|
~neo~:
2014-10-24 21:40:24
move to tutorial.... |
|
Mukul:
2014-10-24 21:40:24
Tutorials.....
|
Added by: | Paul Draper |
Date: | 2012-04-06 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 |