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