Advertisement
Guest User

Untitled

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