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
Type your code here:
See your results here:
Show a friend, family member, or teacher what you've done!
Here is a share link to your code: