Advertisement
Guest User

Untitled

a guest
Jun 13th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #include<iostream>
  2. #include<string.h>
  3. using namespace std;
  4.  
  5. char s[256],t[256];
  6. int main()
  7.  
  8. {
  9. cin.getline(s,256);
  10.  
  11. for(int i=0;s[i];i++)
  12. if(strchr("aeiouAEIOU",s)!=0)
  13. strcpy(s+i+1,s+i+3);
  14.  
  15. strcpy(t,s);
  16. cout<<t;
  17. return 0;
  18.  
  19.  
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement