string s = "Programming";
int count = 0;
for(char c : s){
c = tolower(c);
if(c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u')
count++;
}
cout << count; // 3
string s = "Programming";
int count = 0;
for(char c : s){
c = tolower(c);
if(c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u')
count++;
}
cout << count; // 3