Christmas and Halloween riddle

616.9K Views

Why do computer programmers always get Christmas and Halloween mixed up?

Share
Add Comment

  • 1 Answer(s)

    Because oct 31 = dec 25

    For those who don’t understand the joke:
    oct is an abbreviation of octal, and octal means a number with base 8.
    oct 31 = 3*8 + 1 = 25

    dec is an abbreviation of decimal, and decimal means a number with base 10.
    This is the normal way to write numbers.
    dec 25 = 2*10 + 5 = 25

    You can try it out here: https://www.rapidtables.com/convert/number/octal-to-decimal.html

    CugelTheWise Expert Answered on 14th November 2018.
    Add Comment
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.
  • More puzzles to try-