Advertisement
Guest User

Untitled

a guest
Apr 16th, 2014
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1.  
  2.  
  3. #include <stdio.h>
  4.  
  5. int main(void){
  6.  
  7. char * text;
  8. int i = 0;
  9. text = "abababababa";
  10.  
  11. printf("Bitte eingeben\n");
  12.  
  13.  
  14. for(i=0; text[i]!=0; i++){
  15. if(text[i]=='a' || text[i]=='e' || text[i]=='i' || text[i]=='o' || text[i]=='u')
  16. {
  17. text[i] = 'x';
  18. }
  19. }
  20. printf("%s", text);
  21.  
  22. return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement