hopingsteam

Subiectul 2 -> Problema 3

Apr 7th, 2021
43
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.  
RAW Paste Data