Advertisement
hopingsteam

Subiectul 2 -> Problema 3

Apr 7th, 2021
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. char s[30] = "PREafrUMoASA";
  8. char vocale[11] = "aeiouAEIOU";
  9. for(int i = 0; i < strlen(vocale); i++)
  10. {
  11. if(!strchr(s, vocale[i]))
  12. cout << vocale[i];
  13. }
  14. return 0;
  15. }
  16.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement