Coding challenge

Three different integers are chosen at random between (and including) 1 and 2016. Write some code that will find the probability that the product of the three integers is odd? (Ans: 0.12) (Ref: ACM 2014 10A, #12.)

Type your code here:


Lua reference

See your results here: