fork download
  1. #include <stdio.h>
  2. int main (){
  3. int n;
  4. scanf("%d", &n);
  5. if(n % 2== 0) {
  6. printf("even");
  7. }
  8. else {
  9. printf("odd");
  10. }
  11. return 0;
  12. }
Success #stdin #stdout 0s 5216KB
stdin
45
stdout
odd