Submit solution
Points:
3
Time limit:
2.0s
Memory limit:
64M
Author:
Problem type
Allowed languages
Java
Given a sentence, determine how many vowels [aeiou]
are in it. Do not consider y
a vowel.
Input
The only line of input is a sentence containing lower and uppercase letters as well as spaces less than 10 thousand characters.
Output
Print the number of vowels in the sentence.
Sample Input
Copy
sentence
Sample Output
Copy
3
Comments