fork download
  1. #include <stdio.h>
  2. #include <string.h>
  3. int main(void)
  4. {
  5. int x, y, z;
  6. char a[100];
  7. for (x = 0; x < 100; ++x)
  8. {
  9. a[x] = '\0';
  10. }
  11. scanf ("%s", &a);
  12. y = strlen(a);
  13. for (x = 0; x < y; ++x)
  14. {
  15. if (a[x] == 97 && a[x + 1] == 122 || a[x] == 101 && a[x + 1] == 122 || a[x] == 105 && a[x + 1] == 122 || a[x] == 111 && a[x + 1] == 122 || a[x] == 117 && a[x + 1] == 122)
  16. a[x + 1] = '\0';
  17. a[x + 2] = '\0';
  18. }
  19. for (x = 0; x < 100; ++x)
  20. {
  21. if (a[x] != '\0')
  22. printf ("%c", a[x]);
  23. else
  24. continue;
  25. }
  26. return 0;
  27. }
  28.  
Success #stdin #stdout 0s 2296KB
stdin
razat geze hozotazamnaza ozoraza bezehizisaza
stdout
ra