2. One day, Programmer went for a walk in a museum. There are many paintings in the museum and each paintings has an English alphabet on it. While Programmer was walking, he noticed that all paintings with vowels on it are not in good state. He decided to take care of them. So, he asked you to tell him the count of such paintings in the museum.Note : The following letters are vowels: 'A', 'E', 'I', 'O', 'U' ,'a','e','i','o' and 'u'.
The first line consists of an integer T denoting the number of test cases. Each test case consists of only one string, each character of string denoting the alphabet (may be lowercase or uppercase) on a paintings in the museum.
For each test case, print the count in a new line.
2 nBBZLaosnm JHkIsnZtTLSample Output:
2 1Explanation :
In test case 1, a and o are the only vowels. So, count=2
Put your solution here :-
Your answer submitted successfully, you will get response shortly