#C2927. Count Vowels in a String
Count Vowels in a String
Count Vowels in a String
Given a single string S
, count the number of vowels present in it. Vowels are defined as the characters \(a, e, i, o, u\) and the check is case-insensitive. Your solution should read the input from standard input and print the result to standard output.
Example: For input Programming
, the output should be 3
because the vowels are 'o', 'a', and 'i'.
inputFormat
The input consists of a single line that contains the string S
. The string can include spaces, digits, and punctuation.
outputFormat
Output a single integer representing the number of vowels in the string.
## sampleProgramming
3