Advertisement
edutedu

vr 46

Apr 14th, 2019
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 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. if(strchr("aeiou",a[i]))
  13. {
  14. a[i]=a[i]+1;
  15. }
  16. cout<<a;
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement