daily pastebin goal
34%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 44 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top