Write some code to find integers $a, b, c,$ and $d$, all randomly from 0 to 2007 (including 0 and 2007). Have the code compute the probability that $ad-bc$ is even? (Ans: 0.625) (Ref: ACM 2007 12A) ← Back to challenges | Lessons

Run Share Lua reference

Here is a share link to your code:

Close