백준 1264번-모음의 개수
1) vowels 배열에 소문자 모음, 대문자 모음 다 넣기 #include using namespace std; string s; char vowels[10]={'a','e','i','o','u','A','E','I','O','U'}; int cnt,sumCnt; int main(){ while(true){ cnt=0; getline(cin, s); if(s== "#"){ break; } for(int i=0; i
2023. 8. 7.