fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int x;
  6. cin >>x;
  7. if (x%2==0)
  8. cout<<"even";
  9. else
  10. cout<<"odd";
  11. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
odd