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