/* Problem Description Write a program which does the following: * Takes a set of lines as input * Prints percentage of words containing vowels. The input words will be in lower case. */ #include #include using namespace std; int main() { string s; int vowelcount=0,wordcount=0; while (cin >>s) { if (0<=s.find("a")<=s.length() || 0<=s.find("e")<=s.length() || 0<=s.find("i")<=s.length() || 0<=s.find("o")<=s.length() || 0<=s.find("u")<=s.length()) vowelcount++; wordcount++; } cout<