#C8166. Count Vowels in a String
Count Vowels in a String
Count Vowels in a String
You are given a string \(s\). Your task is to count the number of vowels in the string. The vowels are defined as \(a, e, i, o, u, A, E, I, O, U\). This is a simple problem to test string manipulation skills.
Example:
Input: hello Output: 2
Note that the input string can contain spaces and both lowercase and uppercase letters.
inputFormat
The input consists of a single line containing the string \(s\) (which may include spaces). You should read the input from standard input (stdin).
outputFormat
Output a single integer, which is the number of vowels present in the input string. The output should be written to standard output (stdout).
## samplehello
2