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