Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- public class Program
- {
- public static void Main()
- {
- string str = Console.ReadLine();
- int count = 0;
- for(int i = 0; i < str.Length; i++)
- {
- if(str[i] == 'a' || str[i] == 'e' || str[i] == 'o' || str[i] == 'u' || str[i] == 'i')
- {
- count++;
- }
- }
- Console.WriteLine("glasni : {0} times", count);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement