Hey guys Im learning vectors and Im stuck on the whale.cpp project.

#include iostream //removed “<>” in post because it doesnt show.

#include vector

#include string

int main(){

std::string input = “turpentine and turtles”;

std::vector vowels = {‘a’,‘e’,‘i’,‘o’,‘u’};

std::vector result;

for (int i = 0; i < input.size(); i++){

```
for (int j = 0; j < vowels.size(); j++){
if( input[i] == vowels[j]){
result.push_back(input[i]);
}
}
```

}

for (int k = 0; k < result.size(); k++){

std::cout << result[k];

}

if (input[i] == ‘u’ || input[i] == ‘e’){

result.push_back(input[i]);

}

}

And Im unsure where my mistakes are. Any feedback is appreciated, thanks!