#K5811. Count Vowels
Count Vowels
Count Vowels
Given an input string, count the total number of vowels. The vowels are defined as \(a,e,i,o,u\) (both uppercase and lowercase). Any other characters including digits, punctuation, and spaces should be ignored.
The program must read from stdin
and output the result (the count of vowels) to stdout
.
inputFormat
The input consists of a single line containing a string s (which can be empty). This string may include letters, digits, whitespace, and special characters.
outputFormat
Output a single integer representing the total number of vowels in the input string.
## samplehello
2