Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstring>
- #include <stdio.h>
- using namespace std;
- int main()
- {
- char s1[21],s2[21],s3[42],*p;
- int n,i;
- gets(s1); gets(s2);
- strcpy(s3,s2);
- n=strlen(s3);
- for(i=0;i<n;i++)
- if(strchr("aeiou",s3[i])!=0)
- {
- strcpy(s3+i,s3+i+1);
- n--;
- i--;
- }
- strcat(s3,(char*)(" "));
- strcat(s3,s1);
- puts(s3);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement