fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.  
  6. int liczba;
  7. cin >> liczba;
  8. if ( liczba%2 == 0 )
  9. {
  10. cout << "parzysta" << endl;
  11. }
  12. else
  13. {
  14. cout << "nieparzysta" << endl;
  15. }
  16.  
  17. return 0;
  18. }
Success #stdin #stdout 0.01s 5280KB
stdin
35668
stdout
parzysta