Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstring>
- using namespace std;
- char a[25],x[25],c[25];
- int main()
- {
- int i,t=0;
- cin>>a>>x;
- for(i=0;i<strlen(a);i++)
- {
- if(strchr("aeiouAEIOU",a[i])==0 && ((a[i]>='a' && a[i]<='z') || (a[i]>='A' && a[i]<='Z')))
- {
- c[t]=a[i];
- t++;
- }
- }
- strcat(c," ");
- strcat(c,x);
- cout<<c;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement