Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstring>
- using namespace std;
- char A[105], AUX[105];
- int main ()
- {
- int l, i;
- cin.getline(A, 105);
- l=strlen(A);
- for (i=0; i<l; i++)
- {
- if (strchr("aeiouAEIOU", A[i])!=0)
- {
- strcpy(AUX, A+i+1);
- strcpy(A+i+1, "*");
- strcat(A, AUX);
- }
- }
- cout<<A;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement