Am scris if(s[i]==‘e’ && s[i+1]==‘a’) dar aici nu stiu cum sa fac copierea.
Mumtumesc!!

while(s[i]=='a' && s[i+1]=='e')
i+=2;
cout<<s[i];
i++;