Advertisement
Josif_tepe

Untitled

Aug 25th, 2023
772
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.40 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4. #include <ctype.h>
  5.  
  6.  
  7. int main(int argc, const char * argv[]) {
  8.     char zbor[1000];
  9.     scanf("%s", zbor);
  10.    
  11.     for(int i = 0; i < strlen(zbor); i++) {
  12.         if(zbor[i] == 'a' || zbor[i] == 'e' || zbor[i] == 'i' || zbor[i] == 'o' || zbor[i] == 'u') {
  13.             printf("%c ", zbor[i]);
  14.         }
  15.     }
  16.     return 0;
  17.    
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement