Vowel Heavy by smkt

#include <iostream>
main(){char c[99],w;int v,C,r;while(!std::cin.eof()){std::cin>>c;for(v=C=r=0;w=c[r++];){w=='a'|w=='e'|w=='i'|w=='o'|w=='u'?v++:C++;}if(v>C)std::cout<<c<<'\n';}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page