Advertisement
edutedu

vr 49

Apr 14th, 2019
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #include <iostream>
  2. #include <string.h>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. char a[100];
  8. int i, n, j=0;
  9. cin.get(a, 100);
  10. n=strlen(a);
  11. for(i=0; i<n; i++)
  12. {
  13. if(strchr("aeiou", a[i])==0)
  14. a[i]='*';
  15. }
  16. for(i=0; i<n; i++)
  17. if(a[i]!='*')
  18. cout<<a[i];
  19. return 0;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement