C++ Easy Solution
\t\tlong long count = 0;\n        long long ans = 0;\n        \n        for(int i = 0 ; i < word.size() ; i++)\n        {\n            if(word[i] == \'a\' || wo
\t\tlong long count = 0;\n        long long ans = 0;\n        \n        for(int i = 0 ; i < word.size() ; i++)\n        {\n            if(word[i] == \'a\' || word[i] == \'e\' || word[i] == \'i\' || word[i] == \'o\' || word[i] == \'u\')\n                count += (i+1);\n        \n            ans += count;\n        }\n        \n        return ans;
['C', 'C++']