SHARE
TWEET

Untitled

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