#include
#include
using namespace std;
int main()
{
string t, s="";
cout << "t = ", cin >> t, cout << endl;<br> set a = {'a','e','i','o','u','y'};
for(int i=0; i if(a.find(t[i]) == a.end()) s = s+t[i];
else s = s+'p'+t[i]+'p';
cout << s << endl;<br> return 0;
}
Пример:
t = corectitudine
cpoprpepctpiptpupdpipnpep