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