SHARE
TWEET

Untitled

a guest May 22nd, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <cstring>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int i;
  8.     char s[100], voc[]="aeioum";
  9.     cin.get(s, 100);
  10.     for (i=0;i<strlen(s);i++)
  11.         {
  12.             if (strchr (voc, s[i])==NULL)
  13.  
  14.             {strcpy(s+i,s+i+1);
  15.             i--;}
  16.  
  17.  
  18.         }
  19.         cout<<s;
  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