Advertisement
Guest User

Untitled

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