fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main () {
  5. char x;
  6. cin>>x;
  7. if (x == 'a' || x == 'e' || x == 'i' || x == 'o' || x == 'u' || x == 'y')
  8. cout<<"Tak";
  9. else
  10. cout<<"Nie";
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5508KB
stdin
y
stdout
Tak