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