static bool isVowel(char letter)
letter == 'u') return true;
public static void Main()
Console.Write("Input string: ");
string word = Console.ReadLine();
for(int i=0; i<word.Length; i++)
if(isVowel(word[i])) vowelCounter++;
Console.WriteLine("Number of vowels: " + vowelCounter);