C++ || SUPER EASY SOLUTION
\nclass Solution {\npublic:\n    long long countVowels(string word) {\n        long long answer=0;\n        for(int i=0;i<word.size();i++)\n        {\n         
```\nclass Solution {\npublic:\n    long long countVowels(string word) {\n        long long answer=0;\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                answer+=(word.size()-i)*(i+1);\n        }\n        return answer;\n    }\n};\n```
[]