Advertisement
Guest User

Untitled

a guest
Jan 29th, 2020
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #include <iostream>
  2. #include<cstring>
  3. #include<cmath>
  4.  
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9. char s[21],voc[]="aeiou",aux[21];
  10. int i=0,j;
  11. cin>>s;
  12. for(i=0;i<=4;i++)
  13. {
  14. strcpy(aux,s);
  15. for(j=0;j<strlen(s);j++)
  16. if(aux[j]==voc[i])
  17. {
  18. strcpy(aux+j,aux+j+1);
  19. j--;
  20. }
  21. if(strlen(aux)!=strlen(s))
  22. cout<<aux<<endl;
  23. }
  24. return 0;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement