Counting vowels in a string
C#
Easy
strings
Task «Counting vowels in a string»
Write a program that reads a string and counts the number of vowel letters (Russian: а, е, ё, и, о, у, ы, э, ю, я) in it. The case of letters does not matter. Output only the count.
Input Format
One string containing arbitrary characters.
Output Format
An integer — the number of vowel letters in the string.
Examples
Example 1
INPUT
4
1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 16
OUTPUT
0
Example 2
INPUT
4
-1 -2 -3 -4
2
OUTPUT
0
main.cs